final class NestedOptionOps[T] extends AnyVal
- Alphabetic
- By Inheritance
- NestedOptionOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new NestedOptionOps(nopt: async.Task[Option[T]])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
effectOnFail(effect: ⇒ async.Task[_]): async.Task[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()
-
def
effectOnPure(effect: (T) ⇒ async.Task[_]): async.Task[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()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val nopt: async.Task[Option[T]]
-
def
toString(): String
- Definition Classes
- Any
-
def
unpack(ifNone: ⇒ Anomaly): async.Task[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()
-
def
unpackThr(ifNone: ⇒ Throwable): async.Task[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()