Workflows, Workers - Stream Workflow instance events in your Worker or via the API with .subscribe()
Cloudflare Workflows changelog published Workflows, Workers - Stream Workflow instance events in your Worker or via the API with .subscribe(). You can now stream Workflow instance events via WorkflowInstance.subscribe() and the GET /subscribe API endpoint. Workers and HTTP clients can react to workflow and step events, including attempts, sleeps, waits, and…
Why this signal matters
Cloudflare Workflows changelog published Workflows, Workers - Stream Workflow instance events in your Worker or via the API with .subscribe(). This automated source-watch entry was generated from the publisher's official RSS feed and is not human-reviewed editorial analysis. Source excerpt: You can now stream Workflow instance events via WorkflowInstance.subscribe() and the GET /subscribe API endpoint. Workers and HTTP clients can react to workflow and step events, including attempts, sleeps, waits, and rollbacks, without polling for instance status. A subscription first streams the entire event history of the Workflow instance. After streaming past events, the subscription waits for new events as the instance runs. You can use filter to receive only specific event types or cursor to start a subscription at a specific event. Use .subscribe() to update Workflow status in user-facing dashboards, send notifications when steps complete, or trigger follow-up work for specific events. const instance = await env. MY WORKFLOW . get ( "report-123" ); using subscription = await instance. subscribe (); while ( true ) { const { value , done } = await subscription. next (); if (done) {…
Actionable summary
Treat Workflows, Workers - Stream Workflow instance events in your Worker or via the API with .subscribe() as an official publication signal. Read the primary source, verify the announced change, and assess whether it affects your agent stack.
- Agent usefulness
- 80/100
- Confidence
- 90%
- Canonical data
- JSON + Markdown
What builders should check
- Read the original Cloudflare Workflows changelog article before relying on this summary.
- Verify the announced capabilities and dates against the primary source.
- Assess whether the change affects your agent stack or evaluation plan.