@deskcreate/agentcraft
Preparing search index...
index
AgentCacheController
Interface AgentCacheController
interface
AgentCacheController
{
config
:
AgentCacheConfig
;
clear
?
()
:
Promise
<
void
>
;
delete
?
(
key
:
string
)
:
Promise
<
boolean
>
;
get
?
(
key
:
string
)
:
Promise
<
unknown
>
;
getEntry
?
(
key
:
string
)
:
Promise
<
AgentCacheLookup
>
;
pruneExpired
?
()
:
Promise
<
number
>
;
set
?
(
key
:
string
,
value
:
unknown
,
options
?:
{
ttlMs
?:
number
}
,
)
:
Promise
<
void
>
;
}
Index
Properties
config
Methods
clear?
delete?
get?
get
Entry?
prune
Expired?
set?
Properties
Readonly
config
config
:
AgentCacheConfig
Methods
Optional
clear
clear
?
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Optional
delete
delete
?
(
key
:
string
)
:
Promise
<
boolean
>
Parameters
key
:
string
Returns
Promise
<
boolean
>
Optional
get
get
?
(
key
:
string
)
:
Promise
<
unknown
>
Parameters
key
:
string
Returns
Promise
<
unknown
>
Optional
get
Entry
getEntry
?
(
key
:
string
)
:
Promise
<
AgentCacheLookup
>
Parameters
key
:
string
Returns
Promise
<
AgentCacheLookup
>
Optional
prune
Expired
pruneExpired
?
()
:
Promise
<
number
>
Returns
Promise
<
number
>
Optional
set
set
?
(
key
:
string
,
value
:
unknown
,
options
?:
{
ttlMs
?:
number
}
)
:
Promise
<
void
>
Parameters
key
:
string
value
:
unknown
Optional
options
:
{
ttlMs
?:
number
}
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
config
Methods
clear
delete
get
get
Entry
prune
Expired
set
@deskcreate/agentcraft
Loading...