Class

fs2.util.Task

Ref

Related Doc: package Task

Permalink

class Ref[A] extends AnyRef

Source
Task.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ref
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Ref[A] to any2stringadd[Ref[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Ref[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Ref[A] to ArrowAssoc[Ref[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def access: Task[(A, (Either[Throwable, A]) ⇒ Task[Boolean])]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def cancellableGet: Task[(Task[A], Task[Unit])]

    Permalink

    Like get, but returns a Task[Unit] that can be used cancel the subscription.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ensuring(cond: (Ref[A]) ⇒ Boolean, msg: ⇒ Any): Ref[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Ref[A] to Ensuring[Ref[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (Ref[A]) ⇒ Boolean): Ref[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Ref[A] to Ensuring[Ref[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): Ref[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Ref[A] to Ensuring[Ref[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): Ref[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Ref[A] to Ensuring[Ref[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Ref[A] to StringFormat[Ref[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. def get: Task[A]

    Permalink

    Return the most recently completed set, or block until a set value is available.

  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def runSet(e: Either[Throwable, A]): Unit

    Permalink
  26. def set(t: Task[A])(implicit S: Strategy): Task[Unit]

    Permalink

    Return a Task that submits t to this ref for evaluation.

    Return a Task that submits t to this ref for evaluation. When it completes it overwrites any previously put value.

  27. def setFree(t: Free[Task, A])(implicit S: Strategy): Task[Unit]

    Permalink
  28. def setRace(t1: Task[A], t2: Task[A]): Task[Unit]

    Permalink

    Runs t1 and t2 simultaneously, but only the winner gets to set to this ref.

    Runs t1 and t2 simultaneously, but only the winner gets to set to this ref. The loser continues running but its reference to this ref is severed, allowing this ref to be garbage collected if it is no longer referenced by anyone other than the loser.

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def [B](y: B): (Ref[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Ref[A] to ArrowAssoc[Ref[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Ref[A] to any2stringadd[Ref[A]]

Inherited by implicit conversion StringFormat from Ref[A] to StringFormat[Ref[A]]

Inherited by implicit conversion Ensuring from Ref[A] to Ensuring[Ref[A]]

Inherited by implicit conversion ArrowAssoc from Ref[A] to ArrowAssoc[Ref[A]]

Ungrouped