se fai
function a() {
// Request
// Aggiorno array

B();

}