Home > @rushstack/node-core-library > IProtectableMapParameters > onClear
IProtectableMapParameters.onClear property
An optional hook that will be invoked before Map.clear() is performed.
Signature:
onClear?: (source: ProtectableMap<K, V>) => void;
Home > @rushstack/node-core-library > IProtectableMapParameters > onClear
An optional hook that will be invoked before Map.clear() is performed.
Signature:
onClear?: (source: ProtectableMap<K, V>) => void;