Dynamic spawnChild parameters #5155
Unanswered
AntoninRousset
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to access the event or context when spawning a child, in order to set a dynamic id to the child. Currently, the following does not build:
A use case could be a server that spawns a machine on each request and would close the corresponding connection when a child is done by matching its id.
Currently I work around this limitation using
enqueueActions
:which fails to build with
Type 'string' is not assignable to type 'undefined'
but seems to do the job just right (once the error ignored).Beta Was this translation helpful? Give feedback.
All reactions