ObjectCreated Method
ObjectCreated(Action<IHazelcastClient, DistributedObjectCreatedEventArgs>)
Adds a handler which runs when a distributed object is created.
Declaration
public HazelcastClientEventHandlers ObjectCreated(Action<IHazelcastClient, DistributedObjectCreatedEventArgs> handler)
Parameters
Action<IHazelcastClient, DistributedObjectCreatedEventArgs> | handler | The handler. |
Returns
HazelcastClientEventHandlers | The handlers. |
ObjectCreated(Func<IHazelcastClient, DistributedObjectCreatedEventArgs, ValueTask>)
Adds a handler which runs when a distributed object is created.
Declaration
public HazelcastClientEventHandlers ObjectCreated(Func<IHazelcastClient, DistributedObjectCreatedEventArgs, ValueTask> handler)
Parameters
Func<IHazelcastClient, DistributedObjectCreatedEventArgs, ValueTask> | handler | The handler. |
Returns
HazelcastClientEventHandlers | The handlers. |