Interface FetcherOptions<K, V, FC>

Options provided to the OptionsBase.fetchMethod function.

interface FetcherOptions<K, V, FC> {
    context: FC;
    options: FetcherFetchOptions<K, V, FC>;
    signal: AbortSignal;
}

Type Parameters

  • K
  • V
  • FC = unknown

Properties

context: FC

Object provided in the FetchOptions.context option to LRUCache#fetch

signal: AbortSignal