Type alias Fetcher<K, V, FC>
Fetcher<K, V, FC>: ((key, staleValue, options) => Promise<V | undefined | void> | V | undefined | void)
Type declaration
- (key, staleValue, options): Promise<V | undefined | void> | V | undefined | void
Parameters
key: K
staleValue: V | undefined
Returns Promise<V | undefined | void> | V | undefined | void
The type signature for the OptionsBase.fetchMethod option.