R
I

ComposedPlugins

Flattened hook lists and merged defaults produced by composePlugins.

Signature

ts
interface ComposedPlugins

Properties

PropertyTypeDescription
defaultsFetchOptions<"json", unknown>Merged defaults — plugin defaults first, then user defaults (user wins)
hooksreadonly{ readonly onRequest: readonly FetchHook[] | undefined; readonly onRequestError: readonly FetchHook[] | undefined; readonly onResponse: readonly FetchHook[] | undefined; readonly onResponseError: readonly FetchHook[] | undefined; }Pre-flattened readonly hook arrays; undefined when no plugin contributed a phase
executereadonlyFetchExecuteMiddleware | undefinedPre-composed onion chain of plugin `execute` middlewares, or `undefined` when no plugin contributed one (fast path: caller invokes the core executor directly without constructing a `next` closure).