final class ReferenceOps[T] extends AnyVal
- Alphabetic
- By Inheritance
- ReferenceOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ReferenceOps(value: sync.Result[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
-
def
asFuture: async.Future[T]
Lift the busymachines.effects.sync.Result in this effect busymachines.effects.sync.Incorrect becomes a failed effect busymachines.effects.sync.Correct becomes a pure effect
Lift the busymachines.effects.sync.Result in this effect busymachines.effects.sync.Incorrect becomes a failed effect busymachines.effects.sync.Correct becomes a pure effect
- Annotations
- @inline()
-
def
asIO: async.IO[T]
Lift the busymachines.effects.sync.Result in this effect busymachines.effects.sync.Incorrect becomes a failed effect busymachines.effects.sync.Correct becomes a pure effect
Lift the busymachines.effects.sync.Result in this effect busymachines.effects.sync.Incorrect becomes a failed effect busymachines.effects.sync.Correct becomes a pure effect
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asTask: async.Task[T]
Lift the busymachines.effects.sync.Result in this effect busymachines.effects.sync.Incorrect becomes a failed effect busymachines.effects.sync.Correct becomes a pure effect
Lift the busymachines.effects.sync.Result in this effect busymachines.effects.sync.Incorrect becomes a failed effect busymachines.effects.sync.Correct becomes a pure effect
- Annotations
- @inline()
-
def
effectOnFailFuture(effect: (Anomaly) ⇒ async.Future[_])(implicit ec: async.ExecutionContext): async.Future[Unit]
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Incorrect
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Incorrect
- 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
effectOnFailIO(effect: (Anomaly) ⇒ async.IO[_]): async.IO[Unit]
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Incorrect
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Incorrect
- 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
effectOnFailTask(effect: (Anomaly) ⇒ async.Task[_]): async.Task[Unit]
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Incorrect
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Incorrect
- 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
effectOnPureFuture(effect: (T) ⇒ async.Future[_])(implicit ec: async.ExecutionContext): async.Future[Unit]
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Correct
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Correct
- 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
effectOnPureIO(effect: (T) ⇒ async.IO[_]): async.IO[Unit]
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Correct
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Correct
- 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
effectOnPureTask(effect: (T) ⇒ async.Task[_]): async.Task[Unit]
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Correct
Runs the given effect when the value of this busymachines.effects.sync.Result is busymachines.effects.sync.Correct
- 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
-
def
toString(): String
- Definition Classes
- Any
- val value: sync.Result[T]