protected override void OnEndOpen(IAsyncResult result) => Tap.Complete(result);
Example #2
0
 protected override IDuplexSessionChannel OnEndAcceptChannel(IAsyncResult result) => Tap.Complete <IDuplexSessionChannel>(result);
 public Message EndReceive(IAsyncResult result)
 => Tap.Complete <Message>(result);
        public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
        {
            base.ThrowIfDisposedOrNotOpen();

            return(Tap.Run(callback, state, () => ReceiveAsync(timeout)));
        }
 public void EndSend(IAsyncResult result) => Tap.Complete(result);