Skip to content

3.0: reset propagation_stopped at the start of every dispatch #24

Description

@hartym

Follow-up to #18.

For 2.x, event reuse is opt-in via Event.reset(). For 3.0, consider treating propagation_stopped as per-dispatch state and clearing it at the top of every dispatch/adispatch, so an event instance is reusable by default without an explicit reset.

This is a behaviour change (an event pre-marked as stopped would no longer short-circuit a fresh dispatch), so it is gated to a major version.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions