core.botresponsestream
Home > @medplum/core > BotResponseStream
BotResponseStream interface
Response stream interface for bot streaming responses. Compatible with both VMContext and AWS Lambda runtimes.
Signature:
export interface BotResponseStream extends NodeJS.WritableStream
Extends: NodeJS.WritableStream
Methods
Method | Description |
|---|---|
Starts streaming with the given status code and headers. Must be called before write() to commit the HTTP response. |