If I run this code, will editButton wait to become enabled until my (asynchronous) getMachines() function has finished running? If not, how do I create this functionality?
editButton.isEnabled = false;
loadedMachines = await azureService.GetMachines();
editButton.isEnabled = true;