Packages

final class NestedOptionOps[T] extends AnyVal

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

Instance Constructors

  1. new NestedOptionOps(nopt: async.Future[Option[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: ⇒ async.Future[_])(implicit ec: async.ExecutionContext): async.Future[Unit]

    Runs the given effect when the value of this Option is scala.None Does not run the side-effect if the value is also a failed effect.

    Runs the given effect when the value of this Option is scala.None 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.Future[_])(implicit ec: async.ExecutionContext): async.Future[Unit]

    Runs the given effect when the value of this Option is Some Does not run the side-effect if the value is also a failed effect.

    Runs the given effect when the value of this Option is Some 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 nopt: async.Future[Option[T]]
  10. def toString(): String
    Definition Classes
    Any
  11. def unpack(ifNone: ⇒ Anomaly)(implicit ec: async.ExecutionContext): async.Future[T]

    Sequences the given busymachines.core.Anomaly if Option is scala.None into this effect

    Sequences the given busymachines.core.Anomaly if Option is scala.None into this effect

    The failure of this effect takes precedence over the given failure

    Annotations
    @inline()
  12. def unpackThr(ifNone: ⇒ Throwable)(implicit ec: async.ExecutionContext): async.Future[T]

    Sequences the given java.lang.Throwable if Option is scala.None into this effect

    Sequences the given java.lang.Throwable if Option is scala.None into this effect

    The failure of this effect takes precedence over the given failure

    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped