orElse<L, R> function

TaskEither<L, R> Function(TaskEither<L, R> taskEither) orElse<L, R>(
  1. TaskEither<L, R> orElse
)

Similar to alt, but the alternative TaskEither is given directly.

Implementation

TaskEither<L, R> Function(TaskEither<L, R> taskEither) orElse<L, R>(
  TaskEither<L, R> orElse,
) =>
    alt((_) => orElse);