custom

fun custom(block: (T) -> Boolean): EventScope<T>

Adds a custom condition to the scope.

Return

The updated EventScope instance.

Parameters

block

The condition to apply to the event.