CancellableEvent

Represents an event that can be canceled.

Cancelling an event typically prevents the associated action from completing.

Since

2.0.0

Inheritors

Functions

Link copied to clipboard
open fun call(): Boolean
Dispatches this event to the global event bus.
Link copied to clipboard
abstract fun isCancelled(): Boolean
Checks if the event has been canceled.
Link copied to clipboard
abstract fun setCancelled(cancel: Boolean)
Sets the cancellation state of the event.