Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Dec 19:16
· 213 commits to main since this release
4dde96a

Minor Changes

  • #4616 e8c0b15b2 Thanks @Andarist! - context factories receive self now so you can immediately pass that as part of the input to spawned actors.

    setup({
      /* ... */
    }).createMachine({
      context: ({ spawn, self }) => {
        return {
          childRef: spawn('child', { input: { parent: self } })
        };
      }
    });