Cache
Ce contenu n’est pas encore disponible dans votre langue.
Classes
Cache<Key, T>
Type Parameters
• Key
• T
Constructors
new Cache()
Parameters
• onDelete?
Returns
Cache
<Key
, T
>
Defined in
tmp/graph-editor/src/lib/graph-editor/engine/utils/Cache.ts:4
Properties
cache
Defined in
tmp/graph-editor/src/lib/graph-editor/engine/utils/Cache.ts:2
Methods
add()
Parameters
• key: Key
• data: T
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/engine/utils/Cache.ts:10
clear()
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/engine/utils/Cache.ts:27
delete()
Parameters
• key: Key
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/engine/utils/Cache.ts:20
get()
Parameters
• key: Key
Returns
undefined
| T
Defined in
tmp/graph-editor/src/lib/graph-editor/engine/utils/Cache.ts:6
patch()
Parameters
• key: Key
• data: T
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/engine/utils/Cache.ts:16