Skip to content
1 min read · 37 words

Function: encodeWrapperEvent()

ts
function encodeWrapperEvent(event: WrapperEvent): string;

Defined in: src/batteries/llm/claude_code_cli/wire.ts:291

Encode a WrapperEvent as one NDJSON line, including its terminating newline.

Parameters

ParameterType
eventWrapperEvent

Returns

string