doOnLeftAsync method

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

Implementation

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

      return v;
    });