Example #1
0
 public Task ScheduleAsync(Action action, TimeSpan delay)
 {
     ThrowIfDisposed();
     return(_workerThread.ScheduleAsync(action, delay));
 }
 public Task ScheduleAsync(Action action, TimeSpan delay)
 {
     ThrowIfNotRunning();
     return(_workerThread.ScheduleAsync(action, delay));
 }