c

zio.flow.remote

RemoteVariableReferenceSyntax

final class RemoteVariableReferenceSyntax[A] extends AnyVal

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

Instance Constructors

  1. new RemoteVariableReferenceSyntax(self: Remote[RemoteVariableReference[A]])

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 get: ZFlow[Any, ZNothing, A]

    Gets the value of a remote variable

  6. def getAndUpdate(f: (Remote[A]) ⇒ Remote[A]): ZFlow[Any, ZNothing, A]

    Updates the value stored in a remote variable using the given function, and returns the old value.

  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def modify[B](f: (Remote[A]) ⇒ (Remote[B], Remote[A])): ZFlow[Any, ZNothing, B]

    Modifies the value of a remote variable by the given function.

    Modifies the value of a remote variable by the given function. The function must return a pair of values, where the first value will be the result of this flow, and the second value is the new value to be stored in the remote variable.

  10. val self: Remote[RemoteVariableReference[A]]
  11. def set(a: Remote[A]): ZFlow[Any, ZNothing, Unit]

    Sets the value of a remote variable

  12. def toString(): String
    Definition Classes
    Any
  13. def update(f: (Remote[A]) ⇒ Remote[A]): ZFlow[Any, ZNothing, Unit]

    Updates the value stored in a remote variable by the given function

  14. def updateAndGet(f: (Remote[A]) ⇒ Remote[A]): ZFlow[Any, ZNothing, A]

    Updates the value stored in a remote variable using the given function, and returns the new value.

  15. def waitUntil(predicate: (Remote[A]) ⇒ Remote[Boolean]): ZFlow[Any, ZNothing, Unit]

    Wait until the remote variable changes to a value satisfying the given predicate.

    Wait until the remote variable changes to a value satisfying the given predicate.

    If the predicate is already true, it returns immediately. Otherwise the flow will be suspended until another forked flow changes its value.

Inherited from AnyVal

Inherited from Any

Ungrouped