Skip to content

tom-sherman/xstate-cloudflare-workers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

XState Cloudflare Durable Objects

XState + Durable Objects = 🚀

A collection of example showing how to use and deploy XState in a Cloudflare Workers environment.

Examples

A simple state machine deployed into a Durable Object. Uses only pure transitions and is implemented using machine.transition(event).

Demonstrates performing async work in the machine. Uses Durable Objects built in concurrency management to queue concurrent events and prevent race conditions.

More coming soon...

Still Todo: actors, multiple workers, type safety across workers, DO alarms...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published