onlySync

fun <T> onlySync(): Event<T>(source)

Creates a classic Event without async 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