mapAsync abstract method

  1. @visibleForTesting
Resolvable<T> mapAsync(
  1. @noFutures Async<T> noFutures(
    1. Async<T> async
    )
)

Transforms the inner Async instance if this is an Async.

Provided for pair-axis symmetry with Result.mapOk/Result.mapErr — real code almost always wants resultMap, fold, or foldResult instead.

Implementation

@visibleForTesting
Resolvable<T> mapAsync(
  @noFutures Async<T> Function(Async<T> async) noFutures,
);