map

inline fun <T, R> Data<T>.map(map: (T) -> R): Data<R>
inline fun <T, R> Data<T>.map(error: (Throwable) -> Throwable, success: (T) -> R): Data<R>