A Polaris resource picker which can handle any resources, It's intended to explain the usage of Finite State Machines and the Actor Model using XState
1.mp4
You can check the live demo, don't forget to click on the inspector
For more explanations about how I did this, you can check this thread
We use the Actor Model for responsibility delegation: