Home > @microsoft/node-core-library > IProtectableMapParameters

IProtectableMapParameters interface

Constructor parameters for ProtectableMap

Signature:

export interface IProtectableMapParameters<K, V> 

Properties

Property Type Description
onClear (source: ProtectableMap<K, V>) => void An optional hook that will be invoked before Map.clear() is performed.
onDelete (source: ProtectableMap<K, V>, key: K) => void An optional hook that will be invoked before Map.delete() is performed.
onSet (source: ProtectableMap<K, V>, key: K, value: V) => V An optional hook that will be invoked before Map.set() is performed.