Ejemplo n.º 1
0
 public Task ScheduleAsync(Action action, TimeSpan delay)
 {
     ThrowIfDisposed();
     return(_workerThread.ScheduleAsync(action, delay));
 }
Ejemplo n.º 2
0
 public Task ScheduleAsync(Action action, TimeSpan delay)
 {
     ThrowIfNotRunning();
     return(_workerThread.ScheduleAsync(action, delay));
 }