tapLeft<S, C, L, R> function

StateReaderTaskEither<S, C, L, R> Function(StateReaderTaskEither<S, C, L, R>) tapLeft<S, 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

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