class Base[T] extends Var[T]
A smart variable that can be set manually, and will notify downstream Rxs and run any triggers whenever its value changes.
- Alphabetic
- By Inheritance
- Base
- Var
- Rx
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Base(initialValue: T)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply()(implicit ctx: Data): T
Get the current value of this Rx and listen for updates.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
kill(): Unit
Kills this Rx; stop listening for updates, and release all references to other Rxs.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
now: T
Get the current value of this Rx at this very moment, without listening for updates
-
final
def
propagate(): Unit
Force trigger/notifications of any downstream Rxs, without changing the current value
-
final
def
recalc(): Unit
Force this Rx to recompute (whether or not any upstream Rxs changed) and propagate changes downstream.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Var → AnyRef → Any
- final def toTry: Try[T]
-
final
def
trigger(f: (T) ⇒ Unit)(implicit ownerCtx: Owner): Obs
- Definition Classes
- Rx
- Annotations
- @inline()
-
def
trigger(thunk: ⇒ Unit)(implicit ownerCtx: Owner): Obs
Run the given function immediately, and again whenever this Rxs value changes.
-
final
def
triggerLater(f: (T) ⇒ Unit)(implicit ownerCtx: Owner): Obs
- Definition Classes
- Rx
- Annotations
- @inline()
-
def
triggerLater(thunk: ⇒ Unit)(implicit ownerCtx: Owner): Obs
Run the given function whenever this Rxs value changes, but not immediately.
-
def
update(newValue: T): Unit
Sets the value of this Var and runs any triggers/notifies any downstream Rxs to update
-
final
def
update(f: (T) ⇒ T): Unit
- Definition Classes
- Var
- Annotations
- @inline()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()