Skip to content

HeaderInit

type HeaderInit = (params, state, ctx) => Record<string, any>;

Defined in: src/types.ts:212

Produces a header batch sent before the first output batch in a stream.

Parameter Type
params Record<string, any>
state any
ctx LogContext

Record<string, any>