Software Engineering

Workflows, Workers - Workflow instances now support pause(), resume(), restart(), and terminate() methods in local development

Cloudflare Developer Platform Changelog · 2026-03-23

Workflow instance methods pause() , resume() , restart() , and terminate() are now available in local development when using wrangler dev . You can now test the full Workflow instance lifecycle locally: const instance = await env . MYWORKFLOW . create ( { id : "my-instance-id" , } ) ; await instance . pause () ; //...

Feedback