You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
would be good to know if the process is done. Currently just :parallel is supported as :type in the Schema + would be good to not to allow signals after :final state has reached.
in real life: I've used FSMs to model long-running processes (with both users and applications sending signals to them), with state stored in a database. These processes need to have start and end after which, after end, special bookkeeping is done (compliancy, reporting + hitting filter "done").
Simple case not from real world:
there are two end states: :cancelled (unhappy) and :closed(happy). After reaching either, the machine doesn't accept any more signals.
would be good to know if the process is done. Currently just
:parallel
is supported as:type
in the Schema + would be good to not to allow signals after:final
state has reached.https://xstate.js.org/docs/guides/final.html#api
The text was updated successfully, but these errors were encountered: