map

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

Transforms the current AsyncResult to the result of transform.