Function: encodeBotRouteNdjson()
encodeBotRouteNdjson(
frames):ReadableStream<Uint8Array<ArrayBufferLike>>
Defined in: packages/core/src/wire/bot-route-frame.ts:72
Encode an async iterable of bot-route frames as NDJSON bytes.
Does not append a separate __end marker — emit { type: 'done' } or
{ type: 'error' } as the terminal frame.
Parameters
frames
AsyncIterable<BotRouteFrame<unknown, unknown>>
Returns
ReadableStream<Uint8Array<ArrayBufferLike>>