fireAsync

abstract fun <E : Event?> fireAsync(@NotNull event: @NotNull E): CompletableFuture<E>

Fires the specified event asynchronously.

Return

A CompletableFuture representing the posted event.

Parameters

event

The event to fire asynchronously.

<E>

The type of the event.