Skip to content

feat: onStateEnter handler to access the obj #1032

@benhuangbmj

Description

@benhuangbmj

Is your feature request related to a problem? Please describe.

When I used the onStateEnter method to register a state handler, I frequently found myself need to access the object that triggers the state. I know I can pass the object itself as an argument to the enterState method, but I am wondering if there is an intrinsic method to access the object that I miss. If there is none, would that be a constructive feature to add?

Any more information?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions