I've been thinking and experimenting with how serverless xstate could work. A way to deploy your business logic as a state machine to serverless functions ✨
The beginnings of an implementation and some more details about the problem are here: https://github.com/tom-sherman/serverless-xstate#why