flatMap<R extends Object> abstract method

Result<R> flatMap<R extends Object>(
  1. @noFuturesAllowed Result<R> noFuturesAllowed(
    1. T value
    )
)

Maps a Result<T> to Result<R> by applying a function that returns another Result.

Implementation

Result<R> flatMap<R extends Object>(
  @noFuturesAllowed Result<R> Function(T value) noFuturesAllowed,
);