Do<S, C, L, R> function

StateReaderTaskEither<S, C, L, R> Do<S, C, L, R>(
  1. DoFunction<S, C, L, R> f
)

Implementation

StateReaderTaskEither<S, C, L, R> Do<S, C, L, R>(DoFunction<S, C, L, R> f) =>
    StateReaderTaskEither((s) => ReaderTaskEither((c) => TaskEither(Task(
          () => f(_doAdapter(s, c), s, c).then(
            (a) => Ei.right<L, Tuple2<R, S>>(a),
            onError: (e) => Ei.left<L, Tuple2<R, S>>(e),
          ),
        ))));