Callbacks

Represents a collection of callbacks that can be invoked in a lambda safe way.

Parameters

<C>

the callback type

<A>

the primary argument type

Functions

Link copied to clipboard
open fun invoke(invoker: Consumer<C>)
Invoke the callback instances where the callback method returns void.
Link copied to clipboard
open fun <R> invokeAnd(invoker: (C) -> R): Stream<R>
Invoke the callback instances where the callback method returns a result.
Link copied to clipboard
open fun withLogger(loggerSource: Class<out Any>): SELF
Use the specified logger source to report any lambda failures.
open fun withLogger(logger: Log): SELF
Use the specified logger to report any lambda failures.