WeakMapCache
Public Class
Table of Contents
Signature
class WeakMapCache<T extends object, K> {}
Properties
items
Public Property
Signature
items: WeakMap<T, K>
References
Methods
access()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
K | undefined
bust()
Public Method
Parameters
None
Returns
void
get()
Public Method
Parameters
Name | Description |
---|---|
|
|
|
|
Returns
NonNullable<K>
References
has()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
boolean
invalidate()
Public Method
Parameters
Name | Description |
---|---|
|
|
Returns
void
set()
Public Method
Parameters
Name | Description |
---|---|
|
|
|
|
Returns
void