Method PublishAsync
- Namespace
- MailFathom.Application.Signals
- Assembly
- MailFathom.Application.dll
PublishAsync(ClientSignal, CancellationToken)
Delivers one signal to the user it names, and to no other user.
Task PublishAsync(ClientSignal signal, CancellationToken cancellationToken)
Parameters
signalClientSignalWhat changed and for whom.
cancellationTokenCancellationTokenCancels the delivery when the process is stopping.
Returns
- Task
A task that completes when the channel has done what it can with the signal.
Exceptions
- ArgumentNullException
Thrown when
signalis null.