Interface IDaemonChannelListener
Defines the channel as the service holds it open.
public interface IDaemonChannelListener : IAsyncDisposable
Methods
Accept(CancellationToken)
Waits for the next caller.
Task<IDaemonChannelCaller> Accept(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenThe token to monitor for cancellation requests.
Returns
- Task<IDaemonChannelCaller>
A task whose result is the caller.
Exceptions
- OperationCanceledException
cancellationTokenwas canceled.