object Events
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Events
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class CBResult[T, R] extends AnyRef
- class DynamicFoldMatch[T, +A] extends FoldMatch[A]
- sealed trait FoldMatch[+A] extends AnyRef
- final class FromCallbackT[T] extends AnyRef
- class OnEv[T] extends AnyRef
- class OnEvs[T] extends AnyRef
- class StaticFoldMatch[T, +A] extends FoldMatch[A]
- class StaticFoldMatchDynamic[T, +A] extends FoldMatch[A]
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def change[T](signal: Operators.Signal[T])(implicit ticket: Operators.CreationTicket): Operators.Event[Diff[T]]
Creates change events
Creates change events
- Annotations
- @cutOutOfUserComputation()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def dynamic[T](dependencies: Operators.ReSource*)(expr: (Operators.DynamicTicket) => Option[T])(implicit ticket: Operators.CreationTicket): Operators.Event[T]
Creates dynamic events
Creates dynamic events
- Annotations
- @cutOutOfUserComputation()
- def dynamicNoVarargs[T](dependencies: Seq[Operators.ReSource])(expr: (Operators.DynamicTicket) => Option[T])(implicit ticket: Operators.CreationTicket): Operators.Event[T]
Creates dynamic events
Creates dynamic events
- Annotations
- @cutOutOfUserComputation()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fold[T](dependencies: Set[Operators.ReSource], init: T)(expr: (Operators.DynamicTicket) => (() => T) => T)(implicit ticket: Operators.CreationTicket): Operators.Signal[T]
Folds events with a given operation to create a Signal.
Folds events with a given operation to create a Signal.
- Annotations
- @cutOutOfUserComputation()
- See also
- final def foldAll[A](init: A)(accthingy: (=> A) => Seq[FoldMatch[A]])(implicit ticket: Operators.CreationTicket): Operators.Signal[A]
Folds when any one of a list of events occurs, if multiple events occur, every fold is executed in order.
Folds when any one of a list of events occurs, if multiple events occur, every fold is executed in order.
Example for a counter that can be reset:
val add: Event[Int] val reset: Event[Unit] Events.foldAll(0){ current => Seq( add act2 { v => current + v }, reset act2 { _ => 0 } )}
- Annotations
- @cutOutOfUserComputation()
- def foldOne[A, T](dependency: Operators.Event[A], init: T)(expr: (T, A) => T)(implicit ticket: Operators.CreationTicket): Operators.Signal[T]
- Annotations
- @cutOutOfUserComputation()
- def fromCallback[T]: FromCallbackT[T]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def static[T](dependencies: Operators.ReSource*)(expr: (Operators.StaticTicket) => Option[T])(implicit ticket: Operators.CreationTicket): Operators.Event[T]
Creates static events
Creates static events
- Annotations
- @cutOutOfUserComputation()
- def staticNamed[T](name: String, dependencies: Operators.ReSource*)(expr: (Operators.StaticTicket) => Pulse[T])(implicit ticket: Operators.CreationTicket): Operators.Event[T]
the basic method to create static events
the basic method to create static events
- Annotations
- @cutOutOfUserComputation()
- def staticNoVarargs[T](dependencies: Seq[Operators.ReSource])(expr: (Operators.StaticTicket) => Option[T])(implicit ticket: Operators.CreationTicket): Operators.Event[T]
Creates static events
Creates static events
- Annotations
- @cutOutOfUserComputation()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])