map

inline fun <T, R> Reply<T>.map(transform: (T) -> R): Reply<R>

Transforms the value of the Reply.Some instance using the provided transform function, or returns Reply.None if there is no reply yet (Reply.None).