コード例 #1
0
 public void InvokeLator <ResultType>(
     Future <ResultType> future,
     FutureExceptionEventHandler handler0,
     FutureCompleted <ResultType> completed)
 {
     this.InvokeLator(
         future,
         completed,
         handler0);
 }
コード例 #2
0
 public void InvokeLator <ResultType>(
     Future <ResultType> future,
     FutureCompleted <ResultType> completed,
     params FutureExceptionEventHandler[] handlers)
 {
     foreach (FutureExceptionEventHandler handler in handlers)
     {
         future.FutureException += handler;
     }
     this.StartCoroutine(future.Poll(completed));
 }
コード例 #3
0
        public IEnumerator Poll(FutureCompleted <ResultType> completed)
        {
            IEnumerator enumerator;

            enumerator = this.Poll();
            while (enumerator.MoveNext())
            {
                yield return(enumerator.Current);
            }
            completed(this);
            yield break;
        }
コード例 #4
0
 public void InvokeLator <ResultType>(
     Future <ResultType> future,
     FutureExceptionEventHandler handler0,
     FutureExceptionEventHandler handler1,
     FutureExceptionEventHandler handler2,
     FutureExceptionEventHandler handler3,
     FutureCompleted <ResultType> completed)
 {
     this.Component.InvokeLator(
         future,
         handler0,
         handler1,
         handler2,
         handler3,
         completed);
 }