inspect method

FutureResult<S, F> inspect(
  1. FutureOr<void> fn(
    1. S ok
    )
)

Implementation

FutureResult<S, F> inspect(FutureOr<void> Function(S ok) fn) {
  return then((result) => result.inspect(fn));
}