Documentation
Preparing search index...
@alexaegis/common
index
MemoizeOptions
Interface MemoizeOptions<F, T>
interface
MemoizeOptions
<
F
extends
(
...
args
:
any
)
=>
unknown
,
T
=
unknown
>
{
argHasher
?:
(
args
:
Parameters
<
F
>
)
=>
string
;
cache
?:
Map
<
string
,
ReturnType
<
F
>
>
;
maxCacheEntries
?:
number
;
thisContext
?:
T
;
}
Type Parameters
F
extends
(
...
args
:
any
)
=>
unknown
T
=
unknown
Index
Properties
arg
Hasher?
cache?
max
Cache
Entries?
this
Context?
Properties
Optional
arg
Hasher
argHasher
?:
(
args
:
Parameters
<
F
>
)
=>
string
Default Value
JSON
.
stringify
Copy
Optional
cache
cache
?:
Map
<
string
,
ReturnType
<
F
>
>
Optional
max
Cache
Entries
maxCacheEntries
?:
number
Default Value
Infinity
Copy
Optional
this
Context
thisContext
?:
T
Default Value
undefined
Copy
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
arg
Hasher
cache
max
Cache
Entries
this
Context
Documentation
Loading...
Default Value