Skip to content

Latest commit

 

History

History
102 lines (49 loc) · 1.71 KB

File metadata and controls

102 lines (49 loc) · 1.71 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

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

IProtectableMapParameters interface

Constructor parameters for ProtectableMap

Signature:

export interface IProtectableMapParameters<K, V> 

Properties

Property

Modifiers

Type

Description

onClear?

(source: ProtectableMap<></><K, V>) => void

(Optional) An optional hook that will be invoked before Map.clear() is performed.

onDelete?

(source: ProtectableMap<></><K, V>, key: K) => void

(Optional) An optional hook that will be invoked before Map.delete() is performed.

onSet?

(source: ProtectableMap<></><K, V>, key: K, value: V) => V

(Optional) An optional hook that will be invoked before Map.set() is performed.