Add Event Cancellation #3
Loading…
x
Reference in New Issue
Block a user
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.👍