tapLeft<C, L, R> function

ReaderTaskEither<C, L, R> Function(ReaderTaskEither<C, L, R>) tapLeft<C, L, R>(
  1. FutureOr<void> f(
    1. L value
    )
)

Run a side effect on a Left value. The side effect can optionally return a Future.

Implementation

ReaderTaskEither<C, L, R> Function(ReaderTaskEither<C, L, R>) tapLeft<C, L, R>(
  FutureOr<void> Function(L value) f,
) =>
    (fa) => ReaderTaskEither(fa.call.compose(TE.tapLeft(f)));