fire

abstract fun <E : Event?> fire(@NotNull event: @NotNull E): Boolean

Fires the specified event synchronously.

Return

false if the event was cancelled or true if it was not.

Parameters

event

The event to fire.

<E>

The type of the event.