Beispiel #1
0
 public void OnCompleted(Action continuation)
 {
     if (_tsocket.SetReadableContinuation(continuation))
     {
         TransportThread.RegisterForReadable(_tsocket);
     }
     else
     {
         continuation();
     }
 }