Skip to content

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

@hartym

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions