Packages

final class NestedResultOps[T] extends AnyVal

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

Instance Constructors

  1. new NestedResultOps(result: async.IO[sync.Result[T]])

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def effectOnFail(effect: (Anomaly) ⇒ async.IO[_]): async.IO[Unit]

    Runs the given effect when the boxed value of this busymachines.effects.sync.Result is busymachines.effects.sync.Incorrect Does not run the side-effect if the value is also a failed effect.

    Runs the given effect when the boxed value of this busymachines.effects.sync.Result is busymachines.effects.sync.Incorrect Does not run the side-effect if the value is also a failed effect.

    effect

    The effect to run

    returns

    Does not return anything, this method is inherently imperative, and relies on side-effects to achieve something.

    Annotations
    @inline()
  6. def effectOnPure(effect: (T) ⇒ async.IO[_]): async.IO[Unit]

    Runs the given effect when the boxed value of this busymachines.effects.sync.Result is busymachines.effects.sync.Correct Does not run the side-effect if the value is also a failed effect.

    Runs the given effect when the boxed value of this busymachines.effects.sync.Result is busymachines.effects.sync.Correct Does not run the side-effect if the value is also a failed effect.

    effect

    The effect to run

    returns

    Does not return anything, this method is inherently imperative, and relies on side-effects to achieve something.

    Annotations
    @inline()
  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. val result: async.IO[sync.Result[T]]
  10. def toString(): String
    Definition Classes
    Any
  11. def unpack: async.IO[T]

    Sequences the failure of the busymachines.effects.sync.Incorrect busymachines.effects.sync.Result into this effect.

    Sequences the failure of the busymachines.effects.sync.Incorrect busymachines.effects.sync.Result into this effect.

    The failure of this effect takes precedence over the failure of the busymachines.effects.sync.Incorrect value.

    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped