annotations-design-patterns
Guías (ES)
Guides (EN)
Preparing search index...
public/operators
cachedFor
Function cachedFor
cachedFor
<
This
,
Args
extends
readonly
unknown
[]
,
Result
>
(
ttlMs
:
number
,
options
?:
CachedForOperatorOptions
<
Args
>
,
)
:
Operator
<
This
,
Args
,
Result
,
Result
>
Creates a per-applied-method TTL cache, preserving legacy semantics.
Type Parameters
This
Args
extends
readonly
unknown
[]
Result
Parameters
ttlMs
:
number
options
:
CachedForOperatorOptions
<
Args
>
= {}
Returns
Operator
<
This
,
Args
,
Result
,
Result
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guías (ES)
Guides (EN)
annotations-design-patterns
Loading...
Creates a per-applied-method TTL cache, preserving legacy semantics.