Search
Preparing search index...
The search index is not available
@web-atoms/core
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"services/CacheService"
CacheService
Class CacheService
Hierarchy
CacheService
Index
Constructors
constructor
Methods
get
OrCreate
remove
Constructors
constructor
new
Cache
Service
(
app
:
App
)
:
CacheService
Parameters
app:
App
Returns
CacheService
Methods
get
OrCreate
get
OrCreate<T>
(
key
:
string
, task
:
function
)
:
Promise
<
T
>
Type parameters
T
Parameters
key:
string
task:
function
(
cacheEntry
?:
ICacheEntry
<
T
>
)
:
Promise
<
T
>
Parameters
Optional
cacheEntry:
ICacheEntry
<
T
>
Returns
Promise
<
T
>
Returns
Promise
<
T
>
remove
remove
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
Globals
"services/
Cache
Service"
Cache
Service
constructor
get
OrCreate
remove
ICache
Entry
Cache
Seconds
Generated using
TypeDoc