Skip to content
1 min read · 41 words

Type Alias: SearxngOutputMiddlewareFn

ts
type SearxngOutputMiddlewareFn = (
  ctx: SearxngResponseContext,
  next: NextFn,
) => void | Promise<void>;

Defined in: batteries/tools/searxng/index.ts:132

An output-pipeline stage. Onion middleware over SearxngResponseContext.

Parameters

ParameterType
ctxSearxngResponseContext
nextNextFn

Returns

void | Promise<void>