asyncProcessor needs to call doneCallBack() when there are no array elements or an undefined array.