Example #1
0
 public MainThreadAwaiter(IMainThread mainThread, CancellationToken cancellationToken)
 {
     Check.ArgumentNull(nameof(mainThread), mainThread);
     _mainThread  = mainThread;
     _awaiterImpl = _mainThread.CreateMainThreadAwaiter(cancellationToken);
 }