mapAsync<U extends Object> abstract method

Future<Result<U, E>> mapAsync<U extends Object>(
  1. Future<U> op(
    1. T
    )
)

Maps a Result<T, E> to Result<U, E> by applying an asynchronous function to a contained Ok value, leaving an Err value untouched.

Implementation

Future<Result<U, E>> mapAsync<U extends Object>(Future<U> Function(T) op);