Interface ReactiveMapConfig<TValue>

interface ReactiveMapConfig<TValue> {
    onDeleted?: ((value) => void);
}

Type Parameters

  • TValue

Properties

Properties

onDeleted?: ((value) => void)

A callback function that will be called when an entry is deleted.

Entries are considered deleted from the map when:

  • map.delete() or map.batchDelete() entries.
  • map.set(), map.batchSet() or map.replace() causing old entries being deleted.
  • map.clear() is called.
  • map.dispose() is called.

Type declaration

    • (value): void
    • Parameters

      Returns void