create

inline fun <T : Event> create(builder: EventScope<T>.() -> Unit): EventScope<T>

Creates an EventScope for the specified event type T using the provided builder block.

Return

The created EventScope instance.

Parameters

builder

The block to configure the EventScope.