EntryUpdated Method
EntryUpdated(Action<IHReplicatedMap<TKey, TValue>, MapEntryUpdatedEventArgs<TKey, TValue>>)
Adds an handler which runs when a map entry is updated.
Declaration
public ReplicatedMapEventHandlers<TKey, TValue> EntryUpdated(Action<IHReplicatedMap<TKey, TValue>, MapEntryUpdatedEventArgs<TKey, TValue>> handler)
Parameters
Action<IHReplicatedMap<TKey, TValue>, MapEntryUpdatedEventArgs<TKey, TValue>> | handler | The handler. |
Returns
ReplicatedMapEventHandlers<TKey, TValue> | The handlers. |
EntryUpdated(Func<IHReplicatedMap<TKey, TValue>, MapEntryUpdatedEventArgs<TKey, TValue>, ValueTask>)
Adds an handler which runs when a map entry is updated.
Declaration
public ReplicatedMapEventHandlers<TKey, TValue> EntryUpdated(Func<IHReplicatedMap<TKey, TValue>, MapEntryUpdatedEventArgs<TKey, TValue>, ValueTask> handler)
Parameters
Func<IHReplicatedMap<TKey, TValue>, MapEntryUpdatedEventArgs<TKey, TValue>, ValueTask> | handler | The handler. |
Returns
ReplicatedMapEventHandlers<TKey, TValue> | The handlers. |