Feature
Since spawn essentially wraps an invoke element, allow passing in the attribute autoForward so that events can be sent to spawned actors.
Should be fairly straight forward and If I get time i'll submit a pull request for this feature. In the mean time this will be a reminder.
Required! If you would like to see a feature or enhancement make its way to xstate, please describe:
spawn(SomeMachine, {autoForward: true});
invoke specification and currently implemented with the invoke property of a state.Just letting you know - I have started working on this one.
Most helpful comment
Just letting you know - I have started working on this one.