orElse<A> function
A variant of alt, which accepts the replacement TaskOption directly.
Implementation
TaskOption<A> Function(TaskOption<A> taskOption) orElse<A>(
TaskOption<A> task,
) =>
alt(() => task);
A variant of alt, which accepts the replacement TaskOption directly.
TaskOption<A> Function(TaskOption<A> taskOption) orElse<A>(
TaskOption<A> task,
) =>
alt(() => task);