lru-cache
GitHub
isaacs projects
benchmark summary
benchmark details
Preparing search index...
LRUCache
Fetcher
Type Alias Fetcher<K, V, FC>
Fetcher
:
(
key
:
K
,
staleValue
:
V
|
undefined
,
options
:
FetcherOptions
<
K
,
V
,
FC
>
,
)
=>
Promise
<
V
|
undefined
|
void
>
|
V
|
undefined
|
void
The type signature for the
OptionsBase.fetchMethod
option.
Type Parameters
K
V
FC
=
unknown
Type declaration
(
key
:
K
,
staleValue
:
V
|
undefined
,
options
:
FetcherOptions
<
K
,
V
,
FC
>
,
)
:
Promise
<
V
|
undefined
|
void
>
|
V
|
undefined
|
void
Parameters
key
:
K
staleValue
:
V
|
undefined
options
:
FetcherOptions
<
K
,
V
,
FC
>
Returns
Promise
<
V
|
undefined
|
void
>
|
V
|
undefined
|
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
isaacs projects
benchmark summary
benchmark details
lru-cache
Loading...
The type signature for the OptionsBase.fetchMethod option.