private void MoveNext(string data) { gameTask.OnComplete -= MoveNext; gameTask.OnError -= RetryTask; AsyncService.SavedTaskDone(); if (AsyncService.poolCount == 0) { if (OnComplete != null) { OnComplete.Invoke(data); } } }
public string Schedule() { return(AsyncService.Schedule(this)); }