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
The spawned actor should be also reachable by systemId after restoring a serialized snapshot.
Actual result
After restoring the snapshot an error appears, when using actor.send with the reference determined by system.get(id).
TypeError: this.logic.transition is not a function
at Actor._process (C:\Daten\node\modules\imicros-core\node_modules\xstate\dist\raise-40b1a1f5.cjs.js:814:30)
at Mailbox.flush (C:\Daten\node\modules\imicros-core\node_modules\xstate\dist\raise-40b1a1f5.cjs.js:45:12)
at Mailbox.enqueue (C:\Daten\node\modules\imicros-core\node_modules\xstate\dist\raise-40b1a1f5.cjs.js:37:12)
at Actor._send (C:\Daten\node\modules\imicros-core\node_modules\xstate\dist\raise-40b1a1f5.cjs.js:935:18)
at Object._relay (C:\Daten\node\modules\imicros-core\node_modules\xstate\dist\raise-40b1a1f5.cjs.js:229:14)
at Actor.send (C:\Daten\node\modules\imicros-core\node_modules\xstate\dist\raise-40b1a1f5.cjs.js:944:17)
at ParentMachine.states.running.on.tick.actions (C:\Daten\node\modules\imicros-core\dev\flow\parent.js:42:46)
at executeAction (C:\Daten\node\modules\imicros-core\node_modules\xstate\dist\raise-40b1a1f5.cjs.js:2233:7)
at resolveAndExecuteActionsWithContext (C:\Daten\node\modules\imicros-core\node_modules\xstate\dist\raise-40b1a1f5.cjs.js:2237:9)
at resolveActionsAndContext (C:\Daten\node\modules\imicros-core\node_modules\xstate\dist\raise-40b1a1f5.cjs.js:2268:21)
Reproduction
see provided code above...
Additional context
No response
The text was updated successfully, but these errors were encountered:
XState version
XState version 5
Description
After restoring the snapshot an error appears, when using actor.send with the reference determined by system.get(id).
This error appaers only after serializing the snapshot!
The code for the test program is:
The machine defintion of the parent machine:
The machine definition of the child machine:
Expected result
The spawned actor should be also reachable by systemId after restoring a serialized snapshot.
Actual result
After restoring the snapshot an error appears, when using actor.send with the reference determined by system.get(id).
Reproduction
see provided code above...
Additional context
No response
The text was updated successfully, but these errors were encountered: