t

nutcracker

OnDemandPropagation

trait OnDemandPropagation[M[_], Var[_], Val[_]] extends Propagation[M, Var, Val]

Linear Supertypes
Propagation[M, Var, Val], Observe[M], Observers[M], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OnDemandPropagation
  2. Propagation
  3. Observe
  4. Observers
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type ExclRef[A]
  2. final class ExclUpdateSyntaxHelper[D, U, Δ] extends AnyRef
  3. abstract type Trigger[A, Δ]
    Definition Classes
    Observers
  4. type Val[A] = Val[A]
    Definition Classes
    PropagationObserve
  5. final class UpdateSyntaxHelper[D, U, Δ] extends AnyRef
    Definition Classes
    Propagation

Abstract Value Members

  1. abstract def addFinalizer[A](ref: ExclRef[A], value: Subscription[M]): M[Subscription[M]]

    Register a cleanup routine to execute at the end of the cell-cycle, i.e.

    Register a cleanup routine to execute at the end of the cell-cycle, i.e. when all of cell's observers unregister. If the cycle in which the given cell was created already ended, the cleanup will be executed immediately.

    returns

    A subscription that can be used to remove the registered finalizer early, before the end of the cell cycle. In such case, the finalizer is not executed.

  2. abstract def discard[A, Δ]: Trigger[A, Δ]
    Definition Classes
    Observers
  3. abstract def exclUpdateImpl[A, U, Δ[_, _]](ref: ExclRef[A], u: U)(implicit dom: Aux[A, U, Δ]): M[Unit]
  4. abstract def fire[A, Δ](action: M[Unit]): Trigger[A, Δ]
    Definition Classes
    Observers
  5. abstract def fireReload[A, Δ](action: M[Unit], next: (A, Δ) => Trigger[A, Δ]): Trigger[A, Δ]
    Definition Classes
    Observers
  6. abstract def newAutoCellC[A](setup: IndexedContT[Unit, ExclRef[A], M, A])(implicit dom: Dom[A]): M[Val[A]]

    Creates a cell that will setup itself when the first observer is registered.

    Creates a cell that will setup itself when the first observer is registered. Typically the setup routine starts to observe other cells.

    The setup routine can use the addFinalizer* method to register cleanup routines (finalizers) that will be executed when all observers leave. Typically, such finalizers will stop observing other cells.

  7. abstract def newCell[D](d: D)(implicit dom: Dom[D]): M[Var[D]]
    Definition Classes
    Propagation
  8. abstract def observeImpl[A, U, Δ](src: Val[A])(f: (A) => Trigger[A, Δ])(implicit dom: Aux[A, U, Δ]): M[Subscription[M]]
    Definition Classes
    Observe
  9. abstract def observeImplC[A, U, Δ, B](src: Val[A])(f: (A) => ContU[M, (Trigger[A, Δ], B)])(implicit dom: Aux[A, U, Δ]): ContU[M, (Subscription[M], B)]
    Definition Classes
    Observe
  10. implicit abstract def readOnly[A](a: Var[A]): Val[A]
    Definition Classes
    Propagation
  11. abstract def reconsider[A, Δ](action: M[Trigger[A, Δ]]): Trigger[A, Δ]
    Definition Classes
    Observers
  12. abstract def sleep[A, Δ](next: (A, Δ) => Trigger[A, Δ]): Trigger[A, Δ]
    Definition Classes
    Observers
  13. abstract def updateImpl[D, U, Δ[_, _]](ref: Var[D])(u: U)(implicit dom: Aux[D, U, Δ]): M[Unit]
    Definition Classes
    Propagation

Concrete 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. def alternate[A, B, L, R](ref1: Val[A], ref2: Val[B])(f: (A, B) => Alternator, onStartLeft: () => M[L], onStartRight: () => M[R], onSwitchToLeft: (R) => M[L], onSwitchToRight: (L) => M[R], onStop: (Option[Either[L, R]]) => M[Unit])(implicit domA: Dom[A], domB: Dom[B], M: Bind[M]): M[Unit]
    Definition Classes
    Observe
  5. def alternate0[A, B](ref1: Val[A], ref2: Val[B])(f: (A, B) => Alternator, onSwitchToLeft: M[Unit], onSwitchToRight: M[Unit], onStop: M[Unit])(implicit domA: Dom[A], domB: Dom[B], M: Bind[M]): M[Unit]
    Definition Classes
    Observe
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def cells[D](d: D, n: Int)(implicit dom: Dom[D], M: Applicative[M]): M[Vector[Var[D]]]
    Definition Classes
    Propagation
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. def continually[D, Δ](f: (D, Δ) => M[Unit])(implicit M: Functor[M]): (D, Δ) => Trigger[D, Δ]
    Definition Classes
    Observers
  10. def continually[D, Δ](f: (D) => M[Unit])(implicit M: Functor[M]): (D) => Trigger[D, Δ]
    Definition Classes
    Observers
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def exclUpdate[D](ref: ExclRef[D])(implicit dom: Dom[D]): ExclUpdateSyntaxHelper[D, Update, Delta]
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def newAutoCell[A](setup: ((A) => M[ExclRef[A]]) => M[Unit])(implicit dom: Dom[A]): M[Val[A]]
  19. def newCell[D](implicit dom: DomWithBottom[D]): M[Var[D]]
    Definition Classes
    Propagation
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. def observable[A](src: Val[A]): Aux[M, A, Trigger]
    Definition Classes
    Observe
  23. def observe[A](src: Val[A])(implicit dom: Dom[A]): ObserveSyntaxHelper[M, A, Update, Delta, Trigger]
    Definition Classes
    Observe
  24. def observerS[D, Δ, S](s: S)(f: (S) => TriggerF[M, D, Δ, S])(implicit M: Functor[M]): Trigger[D, Δ]
    Definition Classes
    Observers
  25. def peek_[A](ref: Val[A])(f: (A) => M[Unit])(implicit dom: Dom[A], M: Functor[M]): M[Unit]
    Definition Classes
    Observe
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def threshold[D, Δ](f: (D) => Option[M[Unit]]): (D) => Trigger[D, Δ]

    Keep trying f until it returns Some.

    Keep trying f until it returns Some. Then fire the returned program.

    Definition Classes
    Observers
  28. def threshold1[D, Δ](f: (D) => Option[M[Unit]]): (D, Δ) => Trigger[D, Δ]

    Keep trying f until it returns Some.

    Keep trying f until it returns Some. Then fire the returned program.

    Definition Classes
    Observers
  29. def thresholdOpt[D, Δ](f: (D) => Option[Option[M[Unit]]]): (D) => Trigger[D, Δ]

    Keep trying f until it returns Some.

    Keep trying f until it returns Some. Then fire the returned program, if any.

    Definition Classes
    Observers
  30. def thresholdOpt1[D, Δ](f: (D) => Option[Option[M[Unit]]]): (D, Δ) => Trigger[D, Δ]

    Keep trying f until it returns Some.

    Keep trying f until it returns Some. Then fire the returned program, if any.

    Definition Classes
    Observers
  31. def thresholdTransition[D, Δ](f: (D) => Option[Trigger[D, Δ]]): (D) => Trigger[D, Δ]
    Definition Classes
    Observers
  32. def thresholdTransition1[D, Δ](f: (D) => Option[Trigger[D, Δ]]): (D, Δ) => Trigger[D, Δ]
    Definition Classes
    Observers
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. def untilRight[D, Δ](f: (D, Δ) => Either[M[Unit], M[Unit]]): (D, Δ) => Trigger[D, Δ]
    Definition Classes
    Observers
  35. def untilRight[D, Δ](f: (D) => Either[M[Unit], M[Unit]]): (D) => Trigger[D, Δ]
    Definition Classes
    Observers
  36. def untilRightS[S, D, Δ](s: S)(f: (S, D, Δ) => Either[M[S], M[Unit]])(implicit M: Functor[M]): (D, Δ) => Trigger[D, Δ]
    Definition Classes
    Observers
  37. def untilRightS[S, D, Δ](init: (D) => Either[M[S], M[Unit]], trans: (S, D, Δ) => Either[M[S], M[Unit]])(implicit M: Functor[M]): (D) => Trigger[D, Δ]
    Definition Classes
    Observers
  38. def untilRightSeq[D, Δ](f: (D, Δ) => Either[M[Unit], M[Unit]])(implicit M: Functor[M]): (D, Δ) => Trigger[D, Δ]
    Definition Classes
    Observers
  39. def untilRightSeq[D, Δ](f: (D) => Either[M[Unit], M[Unit]])(implicit M: Functor[M]): (D) => Trigger[D, Δ]
    Definition Classes
    Observers
  40. def update[D](ref: Var[D])(implicit dom: Dom[D]): UpdateSyntaxHelper[D, Update, Delta]
    Definition Classes
    Propagation
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Propagation[M, Var, Val]

Inherited from Observe[M]

Inherited from Observers[M]

Inherited from AnyRef

Inherited from Any

Ungrouped