Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
ui/util/DataCache
default
Class default<T>
Type Parameters
T
Hierarchy
default
Index
Constructors
constructor
Properties
id
log
version
Methods
clear
get
get
Size
save
set
Constructors
constructor
new default
<
T
>
(
id
:
string
, version
:
SupplierOr
<
PromiseOr
<
string
>
,
[
]
>
)
:
default
<
T
>
Type Parameters
T
Parameters
id:
string
version:
SupplierOr
<
PromiseOr
<
string
>
,
[
]
>
Returns
default
<
T
>
Properties
Readonly
id
id
:
string
Readonly
log
log
:
Log
= ...
version
version
:
SupplierOr
<
PromiseOr
<
string
>
,
[
]
>
Methods
clear
clear
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
get
(
key
:
string
)
:
Promise
<
T
>
Parameters
key:
string
Returns
Promise
<
T
>
get
Size
get
Size
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
save
save
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
set
set
(
key
:
string
, value
:
T
, triggerSaveDebounce
?:
boolean
)
:
Promise
<
void
>
Parameters
key:
string
value:
T
triggerSaveDebounce:
boolean
= true
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
default
constructor
id
log
version
clear
get
get
Size
save
set
Generated using
TypeDoc