FilterHandler

data class FilterHandler<T : Any>(val predicate: (Context<T>) -> Boolean = { true }, val callback: (Context<T>) -> Context<T>) : Handler<T>

Constructors

Link copied to clipboard
constructor(predicate: (Context<T>) -> Boolean = { true }, callback: (Context<T>) -> Context<T>)

Properties

Link copied to clipboard
open override val callback: (Context<T>) -> Context<T>
Link copied to clipboard
open override val predicate: (Context<T>) -> Boolean

Functions

Link copied to clipboard
open override fun process(context: Context<T>): Context<T>