Exemple #1
0
 protected void RunWithTimeout(TimeSpan timeout, Func <Task> func) =>
 Should.CompleteIn(() => TaskRunner.RunInBackground(func), timeout);