HandleableCallbackBasedHolder

Constructors

Functions

Link copied to clipboard
suspend fun isHandled(data: T): Boolean
Link copied to clipboard
suspend fun registerHandleable(data: suspend (T) -> Boolean)
Link copied to clipboard
suspend fun unregisterHandleable(data: suspend (T) -> Boolean)

Properties

Link copied to clipboard
val handleable: List<suspend (T) -> Boolean>

Extensions

Link copied to clipboard
suspend fun <T, R> HandleableTriggersHolder<T>.doWithRegistration(data: T, block: suspend () -> R): R