Packages

final class ThunkM[A] extends Root[A]

The value of a zero-param function.

The M in ThunkM denotes "Manual refresh", meaning that the value will not update until you explicitly call refresh().

Linear Supertypes
Root[A], Px[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThunkM
  2. Root
  3. Px
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ThunkM(next: () ⇒ A, reusability: Reusability[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var _rev: Int
    Attributes
    protected
    Definition Classes
    Root
  5. final def _updateValue(a: A): Unit
    Attributes
    protected
    Definition Classes
    Root
  6. final def _value(): A
    Attributes
    protected
    Definition Classes
    Root
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. macro def extract: A

    If this Px contains a function, it can be extracted and the Px dropped from the signature.

    If this Px contains a function, it can be extracted and the Px dropped from the signature. Every time the function is invoked it will use the latest value of this Px, even if you don't explicitly hold a reference to it anymore.

    Example. From a Px[Int => String], an Int => String can be extracted.

    Definition Classes
    Px
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flatMap[B](f: (A) ⇒ Px[B]): Derivative[B]
    Definition Classes
    Px
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def map[B](f: (A) ⇒ B): Derivative[B]
    Definition Classes
    Px
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def peek: A

    Get the last used value without updating.

    Get the last used value without updating.

    Definition Classes
    RootPx
  22. def refresh(): Unit
  23. val reusability: Reusability[A]
    Attributes
    protected
    Definition Classes
    ThunkMRoot
  24. final def rev: Int

    Revision of its value.

    Revision of its value. Increments when value changes.

    Definition Classes
    RootPx
  25. def setMaybe(a: A): Unit
    Attributes
    protected
    Definition Classes
    Root
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. final def toCallback: CallbackTo[A]
    Definition Classes
    Px
  28. def toString(): String
    Definition Classes
    ThunkM → AnyRef → Any
  29. def value(): A

    Get the latest value, updating itself if necessary.

    Get the latest value, updating itself if necessary.

    Definition Classes
    ThunkMPx
  30. final def valueSince(r: Int): Option[A]
    Definition Classes
    Px
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Root[A]

Inherited from Px[A]

Inherited from AnyRef

Inherited from Any

Ungrouped