filterBy

fun filterBy(predicate: (Message) -> Boolean)

Sets a predicate that filters which messages are passed to the handler.