syncAsync

fun <T> syncAsync(clientSide: Boolean = false): AsyncEvent<T>(source)

Creates an AsyncEvent with synchronous and asynchronous listener invocation, accepting events of the type T. The scope S passed to this function determines what kind of actions can be performed in response to the event.

Parameters

scopeSupplier

creates the default scope for this event