doOnRightAsync method

AsyncEither<L, R> doOnRightAsync(
  1. FutureOr<void> block(
    1. R v
    )
)

Implementation

AsyncEither<L, R> doOnRightAsync(FutureOr<void> Function(R v) block) async =>
    (await this).mapAsync((v) async {
      await block(v);

      return v;
    });