Sink

fun interface Sink<in T>(source)

An object that receives values (commonly events or WorkflowAction). BaseRenderContext.actionSink implements this interface.

Functions

Link copied to clipboard
fun <T1, T2> Sink<T1>.contraMap(transform: (T2) -> T1): Sink<T2>

Generates a new sink of type T2.

Link copied to clipboard
abstract fun send(value: T)