TopicEventHandlers<T> Class
Namespace: Hazelcast.DistributedObjects
Assembly: Hazelcast.Net.dll
Represent topic event handlers.
public sealed class TopicEventHandlers<T> : EventHandlersBase<ITopicEventHandler<T>>, IEnumerable<ITopicEventHandler<T>>, IEnumerable
Inherited Members
Type Parameters
T | The topic message type. |
Methods
Message(Action<IHTopic<T>, TopicMessageEventArgs<T>>) | Adds an handler which runs when a message is submitted. |
Message(Func<IHTopic<T>, TopicMessageEventArgs<T>, ValueTask>) | Adds an handler which runs when a message is submitted. |