Exemplo n.º 1
0
 public void OnCompleted(Action continuation)
 {
     if (_tsocket.SetWritableContinuation(continuation))
     {
         TransportThread.RegisterForWritable(_tsocket);
     }
     else
     {
         continuation();
     }
 }