Unable to send event to actor #1691
Answered
by
Andarist
JoshuaAmaju
asked this question in
Q&A
-
I'm getting {
id: "address",
initial: "idle",
entry: assign(() => {
const actors = {};
for (const key in obj) {
actors[key] = spawn(actor, key);
}
return { actors };
}),
states: {
idle: {
on: {
"*": {
actions: send((_, e) => e, {
to: (_, { name }) => name,
}),
},
},
}, |
Beta Was this translation helpful? Give feedback.
Answered by
Andarist
Dec 5, 2020
Replies: 1 comment 5 replies
-
Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
JoshuaAmaju
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given.