Packages

final class CompanionObjectOps extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompanionObjectOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompanionObjectOps(obj: Either.type)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. 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()
  5. 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()
  6. 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()
  7. 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()
  8. 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()
  9. 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()
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. 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()
  12. 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()
  13. 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()
  14. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val obj: Either.type
  17. 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()
  18. 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()
  19. 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()
  20. 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()
  21. 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()
  22. 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()
  23. 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()
  24. 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()
  25. 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()
  26. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped