Skip to content

Feature: Declarative hooks for watching and other "WhileInState" operations #2

@n8allan

Description

@n8allan

This avoids the problem that can arise when using, for instance, WatchOtherWhileInState on a superstate, where if the developer forgets to explicitly pass the superstate to the "inState" param, the assumption is made to watch on the sub-state actually being transitioned into, which causes the watch lifetime to be only for the sub-state, not the intended superstate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions