PublishAsync Method
PublishAsync(T, CancellationToken)
Publishes the message to all subscribers of this topic.
Declaration
Task PublishAsync(T message, CancellationToken cancellationToken = default)
Parameters
T | message | |
CancellationToken | cancellationToken | A cancellation token. |
Returns
Task |