public Func <ChaosAwaitable <ChaosBreakAwaiter <T> > > GetResult() { return(() => { var task = this.scheduler.Create(() => { }); this.scheduler.Schedule(true); return ChaosTask.Break <T>(); }); }
public ChaosWaitTaskAwaiter(ChaosTask <TResult> task) => this.task = task;