public override IEnumerable Run() { Console.WriteLine("RunWaitRun A"); var s = new Sleep { Time = 3 }; yield return s; Console.WriteLine("RunWaitRun B, s: " + s.Result); }
public override IEnumerable Run() { Console.WriteLine("RunWaitRun A"); var s = new Sleep { Time = 3 }; yield return(s); Console.WriteLine("RunWaitRun B, s: " + s.Result); }