new WeakMapStorage(config)
Initializes the storage.
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | Weak map storage configuration. The fields have the following meaning:
|
Members
-
_entryTtl :number
-
The time-to-live of a storage entry in milliseconds.
Type:
- number
Methods
-
_discardExpiredEntries()
-
Deletes all expired entries from this storage.
-
delete()
-
-
get()
-
-
has()
-
-
keys()
-
-
set()
-
-
size()
-