mapSync abstract method

  1. @visibleForTesting
Resolvable<T> mapSync(
  1. @noFutures Sync<T> noFutures(
    1. Sync<T> sync
    )
)

Transforms the inner Sync instance if this is a Sync.

Provided for pair-axis symmetry with Result.mapOk/Result.mapErr — real code almost always wants resultMap, fold, or foldResult instead, since those operate on the inner Result where the meaningful payload lives.

Implementation

@visibleForTesting
Resolvable<T> mapSync(@noFutures Sync<T> Function(Sync<T> sync) noFutures);