bindEither<C> method

TaskEither<L, C> bindEither<C>(
  1. Either<L, C> either
)

Chain an Either to TaskEither by converting it from sync to async.

Implementation

TaskEither<L, C> bindEither<C>(Either<L, C> either) =>
    flatMap((_) => either.toTaskEither());