StateChanged Method
StateChanged(Action<IHazelcastClient, StateChangedEventArgs>)
Adds a handler which runs when the client state changes.
Declaration
public HazelcastClientEventHandlers StateChanged(Action<IHazelcastClient, StateChangedEventArgs> handler)
Parameters
Action<IHazelcast |
handler | The handler. |
Returns
Hazelcast |
The handlers. |
StateChanged(Func<IHazelcastClient, StateChangedEventArgs, ValueTask>)
Adds a handler which runs when the client state changes.
Declaration
public HazelcastClientEventHandlers StateChanged(Func<IHazelcastClient, StateChangedEventArgs, ValueTask> handler)
Parameters
Func<IHazelcast |
handler | The handler. |
Returns
Hazelcast |
The handlers. |