Skip to content

API reference > @kontsedal/olas-core > FetchCtx

FetchCtx type ​

Per-fetch context: the AbortSignal to honor + the root's deps. Passed as the first argument to every QuerySpec.fetcher invocation so module- level queries can reach their dependencies without resorting to globals.

Signature:

typescript
type FetchCtx = {
  signal: AbortSignal;
  deps: AmbientDeps;
};

References: AmbientDeps

Released under the MIT License.