Stream Respond icon

Stream Respond

Streams data to a Stream Trigger with a specific event type

Stream Respond

AI-generated

Summary

Stream specified chunk types to a Stream Trigger with optional delays, sending begin, item, end, or error events containing custom string content.

Inputs

  • Chunk Type (required) — Select the type of chunk to send: a complete stream (begin, multiple items, end), a single item chunk, a begin event, an end event, or an error event.
  • Begin Content — String content sent with the begin event (used if Chunk Type is 'complete' or 'begin').
  • Item Content — String content sent with each item chunk (used if Chunk Type is 'complete' or 'item').
  • End Content — String content sent with the end event (used if Chunk Type is 'complete' or 'end').
  • Error Content — String content sent with the error event (used if Chunk Type is 'error').
  • Delay (ms) — Milliseconds to wait after sending each chunk before continuing.

Output shape

a list of input items passed through unmodified

The output retains the original input data as the node streams the specified chunks. Streaming relies on the host supporting the sendChunk function; if unsupported, an error is thrown.

Discussion