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
txstate right now assumes the machine definition is a literal, in case it's not like initial: Math.random() > 0.5 > "a" : "b" thing most probably will malfunction, so gotta do something about that
Make all custom error use A.CustomError
Transitions...
Support [{ target: "x" }, "y"] Edit: Ugh isn't this already supported? TODO: check
Disallow stupid stuff like
{ target: [] }
[{ target: "a" /* no guard */ }, { target: "b" }]
internal: true for strictly external transitions
more...
When an required property is missing the errors are horrible, try showing custom errors for those cases too
Guarded recursion. Sometimes in an errored machine the recursion becomes infinite to prevent that we'll recurse with a fixed limit
initial: Math.random() > 0.5 > "a" : "b"thing most probably will malfunction, so gotta do something about thatA.CustomError[{ target: "x" }, "y"]Edit: Ugh isn't this already supported? TODO: check{ target: [] }[{ target: "a" /* no guard */ }, { target: "b" }]internal: truefor strictly external transitions