Beispiel #1
0
 public Task <T> SubmitAsync <T>(Func <T> func)
 {
     ThrowIfDisposed();
     return(_workerThread.SubmitAsync(func));
 }
 public Task <T> SubmitAsync <T>(Func <T> func)
 {
     ThrowIfNotRunning();
     return(_workerThread.SubmitAsync(func));
 }