Type Alias Fetcher<K, V, FC>

Fetcher<K, V, FC>: ((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