final class CompanionObjectOps extends AnyVal
- Alphabetic
- By Inheritance
- CompanionObjectOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CompanionObjectOps(obj: Either.type)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
asFuture[L, R](value: Either[L, R], bad: (L) ⇒ Anomaly): async.Future[R]
Lift this Either and transform its left-hand side into a busymachines.core.Anomaly and sequence it within this effect, yielding a failed effect.
Lift this Either and transform its left-hand side into a busymachines.core.Anomaly and sequence it within this effect, yielding a failed effect.
- Annotations
- @inline()
-
def
asFutureThr[L, R](value: Either[L, R])(implicit ev: <:<[L, Throwable]): async.Future[R]
Lift this Either and sequence its left-hand-side java.lang.Throwable within this effect if it is a java.lang.Throwable.
Lift this Either and sequence its left-hand-side java.lang.Throwable within this effect if it is a java.lang.Throwable.
- Annotations
- @inline()
-
def
asFutureThr[L, R](value: Either[L, R], bad: (L) ⇒ Throwable): async.Future[R]
Lift this Either and transform its left-hand side into a java.lang.Throwable and sequence it within this effect, yielding a failed effect.
Lift this Either and transform its left-hand side into a java.lang.Throwable and sequence it within this effect, yielding a failed effect.
- Annotations
- @inline()
-
def
asIO[L, R](value: Either[L, R], bad: (L) ⇒ Anomaly): async.IO[R]
Lift this Either and transform its left-hand side into a busymachines.core.Anomaly and sequence it within this effect, yielding a failed effect.
Lift this Either and transform its left-hand side into a busymachines.core.Anomaly and sequence it within this effect, yielding a failed effect.
- Annotations
- @inline()
-
def
asIOThr[L, R](value: Either[L, R])(implicit ev: <:<[L, Throwable]): async.IO[R]
Lift this Either and sequence its left-hand-side java.lang.Throwable within this effect if it is a java.lang.Throwable.
Lift this Either and sequence its left-hand-side java.lang.Throwable within this effect if it is a java.lang.Throwable.
- Annotations
- @inline()
-
def
asIOThr[L, R](value: Either[L, R], bad: (L) ⇒ Throwable): async.IO[R]
Lift this Either and transform its left-hand side into a java.lang.Throwable and sequence it within this effect, yielding a failed effect.
Lift this Either and transform its left-hand side into a java.lang.Throwable and sequence it within this effect, yielding a failed effect.
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asTask[L, R](value: Either[L, R], bad: (L) ⇒ Anomaly): async.Task[R]
Suspend any side-effects that might happen during the creation of this Either.
Suspend any side-effects that might happen during the creation of this Either. And transform its left-hand side into a busymachines.core.Anomaly and sequence it within this effect, yielding a failed effect.
N.B. this is useless if the Either was previously assigned to a "val". You might as well use TaskOps.fromEither
- Annotations
- @inline()
-
def
asTaskThr[L, R](value: Either[L, R])(implicit ev: <:<[L, Throwable]): async.Task[R]
Suspend any side-effects that might happen during the creation of this Either.
Suspend any side-effects that might happen during the creation of this Either. And sequence its left-hand-side java.lang.Throwable within this effect if it is a java.lang.Throwable
N.B. this is useless if the Either was previously assigned to a "val". You might as well use TaskOps.fromEither
- Annotations
- @inline()
-
def
asTaskThr[L, R](value: Either[L, R], bad: (L) ⇒ Throwable): async.Task[R]
Suspend any side-effects that might happen during the creation of this Either.
Suspend any side-effects that might happen during the creation of this Either. And transform its left-hand side into a java.lang.Throwable and sequence it within this effect, yielding a failed effect.
N.B. this is useless if the Either was previously assigned to a "val". You might as well use TaskOps.fromEither
- Annotations
- @inline()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val obj: Either.type
-
def
suspendInFuture[L, R](value: ⇒ Either[L, R], bad: (L) ⇒ Anomaly)(implicit ec: async.ExecutionContext): async.Future[R]
N.B.
N.B. For Future in particular, this is useless, since you suspend a side-effect which gets immediately applied due to the nature of the Future. This is useful only that any exceptions thrown (bad code) is captured "within" the Future.
Suspend any side-effects that might happen during the creation of this Either. And transform its left-hand side into a busymachines.core.Anomaly and sequence it within this effect, yielding a failed effect.
N.B. this is useless if the Either was previously assigned to a "val". You might as well use FutureOps.fromEither
- Annotations
- @inline()
-
def
suspendInFutureThr[L, R](value: ⇒ Either[L, R])(implicit ev: <:<[L, Throwable], ec: async.ExecutionContext): async.Future[R]
N.B.
N.B. For Future in particular, this is useless, since you suspend a side-effect which gets immediately applied due to the nature of the Future. This is useful only that any exceptions thrown (bad code) is captured "within" the Future.
Suspend any side-effects that might happen during the creation of this Either. And sequence its left-hand-side java.lang.Throwable within this effect if it is a java.lang.Throwable
N.B. this is useless if the Either was previously assigned to a "val". You might as well use FutureOps.fromEither
- Annotations
- @inline()
-
def
suspendInFutureThr[L, R](value: ⇒ Either[L, R], bad: (L) ⇒ Throwable)(implicit ec: async.ExecutionContext): async.Future[R]
N.B.
N.B. For Future in particular, this is useless, since you suspend a side-effect which gets immediately applied due to the nature of the Future. This is useful only that any exceptions thrown (bad code) is captured "within" the Future.
Suspend any side-effects that might happen during the creation of this Either. And transform its left-hand side into a java.lang.Throwable and sequence it within this effect, yielding a failed effect.
N.B. this is useless if the Either was previously assigned to a "val". You might as well use FutureOps.fromEither
- Annotations
- @inline()
-
def
suspendInIO[L, R](value: ⇒ Either[L, R], bad: (L) ⇒ Anomaly): async.IO[R]
Suspend any side-effects that might happen during the creation of this Either.
Suspend any side-effects that might happen during the creation of this Either. And transform its left-hand side into a busymachines.core.Anomaly and sequence it within this effect, yielding a failed effect.
N.B. this is useless if the Either was previously assigned to a "val". You might as well use IOOps.fromEither
- Annotations
- @inline()
-
def
suspendInIOThr[L, R](value: ⇒ Either[L, R])(implicit ev: <:<[L, Throwable]): async.IO[R]
Suspend any side-effects that might happen during the creation of this Either.
Suspend any side-effects that might happen during the creation of this Either. And sequence its left-hand-side java.lang.Throwable within this effect if it is a java.lang.Throwable
N.B. this is useless if the Either was previously assigned to a "val". You might as well use IOOps.fromEither
- Annotations
- @inline()
-
def
suspendInIOThr[L, R](value: ⇒ Either[L, R], bad: (L) ⇒ Throwable): async.IO[R]
Suspend any side-effects that might happen during the creation of this Either.
Suspend any side-effects that might happen during the creation of this Either. And transform its left-hand side into a java.lang.Throwable and sequence it within this effect, yielding a failed effect.
N.B. this is useless if the Either was previously assigned to a "val". You might as well use IOOps.fromEither
- Annotations
- @inline()
-
def
suspendInTask[L, R](value: ⇒ Either[L, R], bad: (L) ⇒ Anomaly): async.Task[R]
Suspend any side-effects that might happen during the creation of this Either.
Suspend any side-effects that might happen during the creation of this Either. And sequence its left-hand-side java.lang.Throwable within this effect if it is a java.lang.Throwable
N.B. this is useless if the Either was previously assigned to a "val". You might as well use TaskOps.fromEither
- Annotations
- @inline()
-
def
suspendInTaskThr[L, R](value: ⇒ Either[L, R])(implicit ev: <:<[L, Throwable]): async.Task[R]
Suspend any side-effects that might happen during the creation of this Either.
Suspend any side-effects that might happen during the creation of this Either. And sequence its left-hand-side java.lang.Throwable within this effect if it is a java.lang.Throwable
N.B. this is useless if the Either was previously assigned to a "val". You might as well use TaskOps.fromEither
- Annotations
- @inline()
-
def
suspendInTaskThr[L, R](value: ⇒ Either[L, R], bad: (L) ⇒ Throwable): async.Task[R]
Suspend any side-effects that might happen during the creation of this Either.
Suspend any side-effects that might happen during the creation of this Either. And transform its left-hand side into a java.lang.Throwable and sequence it within this effect, yielding a failed effect.
N.B. this is useless if the Either was previously assigned to a "val". You might as well use TaskOps.fromEither
- Annotations
- @inline()
-
def
toString(): String
- Definition Classes
- Any