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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
params |
Record<string, any> |
state |
any |
ctx |
LogContext |
Returns
Section titled “Returns”Record<string, any>
