Type Alias: MastraStreamResponse
MastraStreamResponse =
Response&object
Response from agent streaming endpoints with processMastraStream.
Type Declaration
Section titled “Type Declaration”processDataStream
Section titled “processDataStream”processDataStream: (
options) =>Promise<void>
Parameters
Section titled “Parameters”options
Section titled “options”onChunk
Section titled “onChunk”(chunk) => void | Promise<void>
Returns
Section titled “Returns”Promise<void>