My method processData() is executing before pullAllData() is finished but I need processData() to wait until pullAllData() is completely