map

fun <T : Any, K : Any> Call<T>.map(mapper: (T) -> K): Call<K>

Maps a Call type to a transformed Call.

Parameters

mapper

A lambda for mapping Call of T to Call of K.