I'm trying to use the xstate node for managing alarm lifecycles. It's really good for handling an individual alarm, but I'm wondering whether I can use this node for multiple alarms - each of the alarms will have the same lifecycle ( as configured into xstate ) but each individual alarm could be in a different state at any time.
So - do I need an xstate node per alarm ? ( that is bad if I have 100 alarms !! ) or can I parameterise a single xstate node ?
Any ideas appreciated !
Gav