Companion

object Companion

Functions

Link copied to clipboard
inline fun <T1, T2, R> Reply.Companion.combine(r1: Reply<T1>, r2: Reply<T2>, transform: (T1, T2) -> R): Reply<R>

Combines two Reply instances using the provided transform function. If either Reply has no reply yet (Reply.None), returns Reply.None.

inline fun <T1, T2, T3, R> Reply.Companion.combine(r1: Reply<T1>, r2: Reply<T2>, r3: Reply<T3>, transform: (T1, T2, T3) -> R): Reply<R>

Combines three Reply instances using the provided transform function. If any Reply has no reply yet (Reply.None), returns Reply.None.

Link copied to clipboard
fun <T> none(): Reply<T>
Link copied to clipboard
fun <T> some(value: T): Reply<T>