Add Event Cancellation #3

Merged
kske merged 6 commits from f/cancel-event into develop 2020-11-26 08:57:46 +01:00
Owner

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 into DispatchTest and CancelTest for simplicity's sake.

`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 into `DispatchTest` and `CancelTest` for simplicity's sake.
kske self-assigned this 2020-11-25 08:38:21 +01:00
kske requested review from delvh 2020-11-26 08:14:42 +01:00
Owner

👍

:+1:
kske merged commit 748cb8b71a into develop 2020-11-26 08:57:46 +01:00
kske deleted branch f/cancel-event 2020-11-26 08:57:52 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: zdm/event-bus#3
No description provided.