Structs§
- Stream
Event - A single line from
--output-format stream-jsonoutput.
Functions§
- stream_
query - Execute a command with streaming output, calling a handler for each NDJSON line.
- stream_
query_ sync - Blocking mirror of
stream_query. Reads NDJSON lines from the child’s stdout on a worker thread, dispatches each parsed event tohandleron the caller’s thread, and drains stderr on a separate worker thread so the child can’t deadlock on a full pipe.