Add Event Cancellation #3
No reviewers
Labels
No Label
1
13
2
21
3
34
5
55
8
bug
core
could have
duplicate
enhancement
help wanted
must have
proc
question
should have
wont have
bug
bugfix
discussion
documentation
feature
L
M
maintenance
postponed
refactoring
S
wontfix
XL
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: zdm/event-bus#3
Loading…
Reference in New Issue
No description provided.
Delete Branch "f/cancel-event"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
EventBus
can now cancel an event that is currently being dispatched from one of its event handlers. This means, that it will not be dispatched to any more handlers with a lower priority.Note that cancelling events is only supported from an active dispatching thread and an
EventBusException
will be thrown otherwise.Additionally,
EventBusTest
has been split up intoDispatchTest
andCancelTest
for simplicity's sake.👍