flatMapFirst<S, C, L, R> function

StateReaderTaskEither<S, C, L, R> Function(StateReaderTaskEither<S, C, L, R>) flatMapFirst<S, C, L, R>(
  1. StateReaderTaskEither<S, C, L, dynamic> f(
    1. R a
    )
)

Composes computations in sequence, using the return value from the previous computation. Discarding the result.

Implementation

StateReaderTaskEither<S, C, L, R> Function(StateReaderTaskEither<S, C, L, R>)
    flatMapFirst<S, C, L, R>(
  StateReaderTaskEither<S, C, L, dynamic> Function(R a) f,
) =>
        flatMap((r) => f(r).chain(map((_) => r)));