ReceiveAsync Method
Definition
ReceiveAsync(Action<AsyncOptions>)
Receive one or more message(s) asynchronous using Point-to-Point Channel/P2P MEP.
IAsyncEnumerable<IMessage<out TRequest>> ReceiveAsync(Action<AsyncOptions> setup = null)
Parameters
setupAction<AsyncOptions>The AsyncOptions which may be configured.
Returns
- IAsyncEnumerable<IMessage<TRequest>>
A task that represents the asynchronous operation. The task result contains a sequence of IMessage<T> whose generic type argument is IRequest.