evaluate<R> method

FutureOr<Either<L, R>> evaluate<R>(
  1. StateReaderTaskEither<S, C, L, R> state
)

Run the computation and returns the result only.

Implementation

FutureOr<Either<L, R>> evaluate<R>(StateReaderTaskEither<S, C, L, R> state) =>
    run(state).flatMap(E.map((t) => t.first));