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
{{ message }}
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.
calling sendParent() or send({}, {to: parent}) from invoked child machine thrown Uncaught Error
Expected Result
Event fetched in parent machine
Actual Result
No event was received in the parent machine
Uncaught Error: Unable to send event to child '#_parent' from service {child}.
at e.sendTo (interpreter.js:119:17)
at interpreter.js:739:15
at r (helpers.js:72:23)
This is a byproduct of our strategy to evaluate the top-level machines from the code editor. The visualizer in here might actually try to create fetchService twice - once as a standalone machine, once as the child of the app. The first one throws but the latter works OK: https://codesandbox.io/s/pedantic-montalcini-v3w2rx?file=/src/index.js
Description
calling sendParent() or send({}, {to: parent}) from invoked child machine thrown Uncaught Error
Expected Result
Event fetched in parent machine
Actual Result
No event was received in the parent machine
Uncaught Error: Unable to send event to child '#_parent' from service {child}.
at e.sendTo (interpreter.js:119:17)
at interpreter.js:739:15
at r (helpers.js:72:23)
Reproduction
consider this viz
Additional context
Browser: Vivaldi 5.3.2679.70 (Stable channel) (chromium-based browser)
OS: Linux (Ubuntu 22.04 LTS)
The text was updated successfully, but these errors were encountered: