/// <summary>
 /// 初始化任务等待器
 /// </summary>
 /// <param name="awaitableTask"></param>
 public TaskAwaiter(AwaitableTask <TResult> awaitableTask)
 {
     _awaitableTask = awaitableTask;
 }
Beispiel #2
0
 /// <summary>
 /// 任务等待器
 /// </summary>
 /// <param name="awaitableTask"></param>
 public TaskAwaiter(AwaitableTask awaitableTask)
 {
     _awaitableTask = awaitableTask;
 }