root package

package root

Visibility
  1. Public
  2. All

Value Members

  1. package rx

    Scala.Rx is an experimental change propagation library for Scala.

    Scala.Rx is an experimental change propagation library for Scala. Scala.Rx gives you Reactive variables (Rxs), which are smart variables who auto-update themselves when the values they depend on change. The underlying implementation is push-based FRP based on the ideas in Deprecating the Observer Pattern.

    A simple example which demonstrates its usage is:

    import rx._
    val a = Var(1); val b = Var(2)
    val c = Rx{ a() + b() }
    println(c()) // 3
    a() = 4
    println(c()) // 6

    See the github page for more instructions on how to use this package, or browse the classes on the left.

Ungrouped