event Filter For
Creates an EventFilter instance of type T and applies the specified block on it.
Return
An instance of T with the operations from the block applied on it.
Parameters
block
A lambda function that takes an instance of T (subtype of EventFilter) and applies operations on it.
Throws
if the T type is not a known EventFilter type.