Search
Preparing search index...
The search index is not available
tinoe
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
tinoe
<internal>
WeakCache
Class WeakCache<K, V>
Type Parameters
K
extends
{}
V
extends
{}
Hierarchy
BaseCache
<
K
,
V
>
WeakCache
Index
Constructors
constructor
Properties
_map
Methods
for
Each
get
has
set
Constructors
constructor
new
Weak
Cache
<
K
,
V
>
(
)
:
WeakCache
<
K
,
V
>
Type Parameters
K
extends
{}
V
extends
{}
Returns
WeakCache
<
K
,
V
>
Properties
Protected
_map
_map
:
WeakMap
<
K
,
V
>
Methods
for
Each
for
Each
(
callbackfn
:
(
(
value
:
V
, key
:
K
, map
:
Map
<
K
,
V
>
)
=>
void
)
, thisArg
?:
any
)
:
void
Parameters
callbackfn:
(
(
value
:
V
, key
:
K
, map
:
Map
<
K
,
V
>
)
=>
void
)
(
value
:
V
, key
:
K
, map
:
Map
<
K
,
V
>
)
:
void
Parameters
value:
V
key:
K
map:
Map
<
K
,
V
>
Returns
void
Optional
thisArg:
any
Returns
void
get
get
(
key
:
K
)
:
V
Parameters
key:
K
Returns
V
has
has
(
key
:
K
)
:
boolean
Parameters
key:
K
Returns
boolean
set
set
(
key
:
K
, value
:
V
)
:
void
Parameters
key:
K
value:
V
Returns
void
Exports
<internal>
Web
Assembly
Weak
Cache
constructor
_map
for
Each
get
has
set
Generated using
TypeDoc