Function: framesResponse()
framesResponse(
frames,format):Response
Defined in: packages/core/src/wire/run-route.ts:155
Frames as SSE or NDJSON. An event's seq is its SSE id:, so a browser
reconnects with Last-Event-ID. A frame source that throws ends the
stream with an error frame. A client that leaves returns the source.
Parameters
frames
AsyncIterable<BotRouteFrame>
format
Returns
Response