filteredForEvent

fun <T : Event, V> filteredForEvent(name: String, filter: EventFilter<T, V>, predicate: Predicate<T>): EventNode<T>

Creates a new event node that accepts any event of the given event type T that passes the given filter and the given predicate.

This functions identically to filteredForType, except that the predicate does not provide the handle object.

Return

a new event node

Parameters

T

the event type

V

the value type

name

the name of the node

filter

the event filter

predicate

the predicate to test