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 }}
Repository navigation
state: forwardTo on an actor-driven parent Fire or a service settle forwards nil #260
A parent transition that runs forwardTo(child) forwards the event that drove it only when the host drives the parent Fire itself. After #235, durable forwards the step's event for Fire and for a timer transition in Tick. A parent Fire that an actor drives (from DeliverToActor, or an actor spawned during a step) runs inside state.ActorSystem.fireParentFrom, which calls Absorb with no event, so its forwardTo hands the child nil. A forwardTo on a service settle's transition also forwards nothing.
Possible fix
Have fireParentFrom absorb the parent Fire's effects with AbsorbFor(ctx, event, effects), using the event the actor sent, and give the service runner's settle the same option. That's a change in state.
Activity