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<IHazelcastClient, StateChangedEventArgs> | handler | The handler. |
Returns
HazelcastClientEventHandlers | 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<IHazelcastClient, StateChangedEventArgs, ValueTask> | handler | The handler. |
Returns
HazelcastClientEventHandlers | The handlers. |