Callback type for pipe middleware. Receives (next, ...args, ctx).
(next, ...args, ctx)
type ExecuteMiddleware = PipeCallback<[opts: RequestOpts]>; // (next: () => Promise<R>, opts: RequestOpts, ctx: PipeContext) => R | Promise<R> Copy
type ExecuteMiddleware = PipeCallback<[opts: RequestOpts]>; // (next: () => Promise<R>, opts: RequestOpts, ctx: PipeContext) => R | Promise<R>
Callback type for pipe middleware. Receives
(next, ...args, ctx).