public void it_allows_waiting_for_task_completion() { var taskId = _scheduler.Schedule(() => ImaginaryTask(100)); _scheduler.Await(taskId); _completed.ShouldBe(true); }
public void it_allows_waiting_for_task_completion() { var taskId = _scheduler.Schedule(() => ImaginaryTask(100)); _scheduler.Await(taskId); _completed.ShouldBe(true); }