Type alias BackgroundFetch<V>

BackgroundFetch<V>: Promise<V | undefined> & {
    __abortController: AbortController;
    __returned: BackgroundFetch<V> | undefined;
    __staleWhileFetching: V | undefined;
}

Promise representing an in-progress LRUCache#fetch call

Type Parameters

  • V

Type declaration

  • __abortController: AbortController
  • __returned: BackgroundFetch<V> | undefined
  • __staleWhileFetching: V | undefined

Generated using TypeDoc