SubscribeAsync Method
SubscribeAsync(IHazelcastClient, CancellationToken)
Subscribes to events.
Declaration
Task SubscribeAsync(IHazelcastClient hazelcastClient, CancellationToken cancellationToken)
Parameters
IHazelcastClient | hazelcastClient | The Hazelcast client. |
CancellationToken | cancellationToken | A cancellation token. |
Returns
Task | A task that will complete when events have been subscribed to. |