Skip to content

API reference > @kontsedal/olas-core > InfiniteFetchCtx

InfiniteFetchCtx type ​

Per-fetch context for an infinite query: the page to fetch, theAbortSignal to honor, and the root's deps. See FetchCtx for the regular-query analogue.

Signature:

typescript
type InfiniteFetchCtx<PageParam> = {
  pageParam: PageParam;
  signal: AbortSignal;
  deps: AmbientDeps;
};

References: AmbientDeps

Released under the MIT License.