Skip to main content
Version: 1.x.x

BuilderConfig


import { BuilderConfig } from "@hyper-fetch/core"

Description

Configuration setup for the builder

Defined in builder/builder.types.ts:12

Preview

type BuilderConfig = {
appManager: <B,A>(builder: B) => A;
cache: <B,C>(builder: B) => C;
client: ClientType;
fetchDispatcher: <B,D>(builder: B) => D;
submitDispatcher: <B,D>(builder: B) => D;
url: string;
}

Structure

{
appManager: (builder: B) => A;
cache: (builder: B) => C;
client: (command: CommandInstance, requestId: string) => Promise<ClientResponseType<any, any>>;
fetchDispatcher: (builder: B) => D;
submitDispatcher: (builder: B) => D;
url: string;
}