@aicacia/expiring-map
Preparing search index...
ExpiringMapOptions
Interface ExpiringMapOptions<K, V>
interface
ExpiringMapOptions
<
K
,
V
>
{
defaultTtlMs
:
number
;
lazyEviction
?:
boolean
;
onExpire
?:
(
key
:
K
,
value
:
V
)
=>
void
;
}
Type Parameters
K
V
Index
Properties
default
Ttl
Ms
lazy
Eviction?
on
Expire?
Properties
default
Ttl
Ms
defaultTtlMs
:
number
Optional
lazy
Eviction
lazyEviction
?:
boolean
Optional
on
Expire
onExpire
?:
(
key
:
K
,
value
:
V
)
=>
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
default
Ttl
Ms
lazy
Eviction
on
Expire
@aicacia/expiring-map
Loading...