Packages

trait RescalaInterface[S <: Struct] extends RescalaInterfaceRequireSerializer[S]

Known Subclasses
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. RescalaInterface
  2. RescalaInterfaceRequireSerializer
  3. Aliases
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final type AdmissionTicket = core.AdmissionTicket[S]

    Definition Classes
    Aliases
  2. final type Creation = Initializer[S]

    Definition Classes
    Aliases
  3. final type CreationTicket = core.CreationTicket[S]

    Definition Classes
    Aliases
  4. final type DynamicTicket = core.DynamicTicket[S]

    Definition Classes
    Aliases
  5. final type Event[+A] = reactives.Event[A, S]

    Events represent discrete occurrences of values of type A

    Events represent discrete occurrences of values of type A

    Definition Classes
    Aliases
  6. final type Evt[A] = reactives.Evt[A, S]

    Definition Classes
    Aliases
  7. final type Observe = reactives.Observe[S]

    Definition Classes
    Aliases
  8. final type ReSource = core.ReSource[S]

    Definition Classes
    Aliases
  9. final type Reactive = core.Reactive[S]

    Definition Classes
    Aliases
  10. final type Signal[+A] = reactives.Signal[A, S]

    Signals represent time changing values of type A

    Signals represent time changing values of type A

    Definition Classes
    Aliases
  11. final type StaticTicket = core.StaticTicket[S]

    Definition Classes
    Aliases
  12. final type Var[A] = reactives.Var[A, S]

    Definition Classes
    Aliases
  13. final type WrapUpTicket = core.WrapUpTicket[S]

    Definition Classes
    Aliases

Abstract Value Members

  1. abstract def scheduler: Scheduler[S]

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. implicit def EventOps[T](e: Event[T]): EOps[T, S]
  5. val Events: reactives.Events.type

    Contains static methods to create Events

    Contains static methods to create Events

    Definition Classes
    RescalaInterfaceRequireSerializer
  6. final def Evt[A](): Evt[A]

  7. val Signals: reactives.Signals.type

    Contains static methods to create Signals

    Contains static methods to create Signals

    Definition Classes
    RescalaInterfaceRequireSerializer
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  10. final def dynamic[T](dependencies: ReSource*)(expr: (DynamicTicket) ⇒ T)(implicit ct: CreationTicket): Signal[T]

  11. final def dynamicE[T](dependencies: ReSource*)(expr: (DynamicTicket) ⇒ Option[T])(implicit ct: CreationTicket): Event[T]

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. implicit def implicitScheduler: Scheduler[S]

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. implicit def noSerialization[T]: ReSerializable[T]
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def static[T](dependencies: ReSource*)(expr: (StaticTicket) ⇒ T)(implicit ct: CreationTicket): Signal[T]

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def transaction[R](initialWrites: ReSource*)(admissionPhase: (AdmissionTicket) ⇒ R): R

    Executes a transaction.

    Executes a transaction.

    R

    Result type of the admission function

    initialWrites

    All inputs that might be changed by the transaction

    admissionPhase

    An admission function that may perform arbitrary rescala.reactives.Signal.readValueOnce reads to rescala.reactives.Evt.admit / rescala.reactives.Var.admit arbitrary input changes that will be applied as an atomic transaction at the end.

    returns

    Result of the admission function

    Definition Classes
    RescalaInterfaceRequireSerializer
  26. def transactionWithWrapup[I, R](initialWrites: ReSource*)(admissionPhase: (AdmissionTicket) ⇒ I)(wrapUpPhase: (I, WrapUpTicket) ⇒ R): R

    Executes a transaction with WrapUpPhase.

    Executes a transaction with WrapUpPhase.

    I

    Intermediate Result type passed from admission to wrapup phase

    R

    Final Result type of the wrapup phase

    initialWrites

    All inputs that might be changed by the transaction

    admissionPhase

    An admission function that may perform arbitrary rescala.reactives.Signal.readValueOnce reads to rescala.reactives.Evt.admit / rescala.reactives.Var.admit arbitrary input changes that will be applied as an atomic transaction at the end. The return value of this phase will be passed to the wrapUpPhase

    wrapUpPhase

    A wrap-up function that receives the admissionPhase result and may perform arbitrary rescala.reactives.Signal.readValueOnce reads which are executed after the update propagation.

    returns

    Result of the wrapup function

    Definition Classes
    RescalaInterfaceRequireSerializer
  27. def update(changes: (Source[S, A], A) forSome {type A}*): Unit

    Atomically changes multiple inputs in a single transaction

    Atomically changes multiple inputs in a single transaction

    changes

    the changes to perform, i.e., (i1 -> v1, i2 -> v2, ...)

    returns

    Result of the admission function

    Definition Classes
    RescalaInterfaceRequireSerializer
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. object Event

    Similar to Signal expressions, but resulting in an event.

    Similar to Signal expressions, but resulting in an event. Accessed events return options depending on whether they fire or not, and the complete result of the expression is an event as well.

    Definition Classes
    RescalaInterfaceRequireSerializer
    See also

    Signal

  32. object Signal

    A signal expression can be used to create signals accessing arbitrary other signals.

    A signal expression can be used to create signals accessing arbitrary other signals. Use the apply method on a signal to access its value inside of a signal expression.

    val a: Signal[Int]
    val b: Signal[Int]
    val result: Signal[String] = Signal { a().toString + b().toString}
    Definition Classes
    RescalaInterfaceRequireSerializer
  33. object Var

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from Aliases[S]

Inherited from AnyRef

Inherited from Any

Type aliases for reactives

Rescala has multiple schedulers and each scheduler provides reactives with different internal state. To ensure safety, each reactive is parameterized over the type of internal state, represented by the type parameter. To make usage more convenient, we provide type aliases which hide these internals.

Create new reactives

Update multiple reactives

Advanced functions used when extending REScala

Methods and type aliases for advanced usages, these are most relevant to abstract over multiple scheduler implementations.

Ungrouped