Gitpulse
LatestReleasesStand-up
Merged
Size
M
Medium: 100-500 weighted lines
Change Breakdown
Docs100%
#3153docs: realtime input streams

Documentation added for bidirectional Input Streams

ER
ericallam
·Mar 4, 2026·#3153docs: realtime input streams

Trigger.dev documentation has been updated to cover Input Streams, allowing real-time data to be sent into running background tasks for human-in-the-loop approvals and mid-flight cancellations.

Documentation has been published for , adding bidirectional communication for background tasks. Running tasks can now receive real-time signals mid-execution.

This supports workflows like human-in-the-loop approvals, where a task is paused for a user's review, or interactive AI agents that require mid-generation cancellation. Typed data payloads can be pushed into active tasks from backend routes or directly from React frontends via a .

Inside the task, compute resources can be freed using , or continuous listeners can be attached for incoming events. Here is how an input stream is defined:

typescript
1export const approval = streams.input<{ approved: boolean }>({ id: "approval" });
© 2026 · via Gitpulse