IncrementalApi
Attributes
- Graph
- Supertypes
- trait Synchrontrait NoLocktrait Levelbasedtrait Twoversiontrait RescalaInterfacetrait Operatorstrait ObserveBundletrait Sourcestrait FlattenApitrait FlattenCollectionCompattrait SignalBundletrait SignalCompatBundletrait EventBundletrait EventCompatBundletrait ReadableMacroBundletrait DefaultImplementationstrait IncrementalBundleclass Objecttrait Matchableclass Any
- Self type
- IncrementalApi.type
Members list
internal
Attributes
- Inherited from:
- RescalaInterface
create
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.
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.
Attributes
- See also:
Signal
- Inherited from:
- EventCompatBundle
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Sources
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.
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}
Attributes
- Inherited from:
- SignalCompatBundle
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
update
Executes a transaction.
Executes a transaction.
Attributes
- R
Result type of the admission function
- admissionPhase
An admission function that may rescala.operator.Sources.Evt.admit / rescala.operator.Sources.Var.admit arbitrary input changes that will be applied as an atomic transaction at the end.
- initialWrites
All inputs that might be changed by the transaction
- Returns:
Result of the admission function
- Example:
transaction(a, b){ implicit at => a.set(5); b.set(1); at.now(a) }
- Inherited from:
- RescalaInterface
Executes a transaction with WrapUpPhase.
Executes a transaction with WrapUpPhase.
Attributes
- See also:
transaction
- Inherited from:
- RescalaInterface
Type members
Classlikes
Inherited classlikes
Attributes
- Inherited from:
- DefaultImplementations
- Graph
- Supertypes
- trait DisconnectableImpltrait Disconnectabletrait Derivedtrait ReSourceclass Objecttrait Matchableclass Any
Attributes
- S
Structure of Source
- T
Type of values in Deltas
- Inherited from:
- IncrementalBundle
- Graph
- Supertypes
- trait ReactiveDeltaSeq[T]trait DisconnectableImpltrait Disconnectabletrait Derivedtrait ReSourceclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- DefaultImplementations
- Graph
- Supertypes
- trait DisconnectableImpltrait Disconnectabletrait Derivedtrait ReSourceclass Objecttrait Matchableclass Any
- Known subtypes
- class EventImpl[T]class SignalImpl[T]
Events only propagate a value when they are changing, when the system is at rest, events have no values.
Events only propagate a value when they are changing, when the system is at rest, events have no values.
Note: We hide implicit parameters of the API in the documentation. They are used to ensure correct creation, and you normally do not have to worry about them, except if you accidentally call the implicit parameter list, in which cas you may get cryptic errors. This is a scala limitation. We also hide the internal state parameter of passed and returned events.
Attributes
- T
Value type of the event occurrences.
- Inherited from:
- EventBundle
- Graph
- Supertypes
- Known subtypes
Attributes
- Inherited from:
- EventCompatBundle
- Graph
- Supertypes
- Known subtypes
Attributes
- isDynamicWithStaticDeps
If this is None, the event is static. Else, it is dynamic with the set of static dependencies
- Inherited from:
- DefaultImplementations
- Graph
- Supertypes
- trait Event[T]trait EventCompat[T]class DerivedImpl[T]trait DisconnectableImpltrait Disconnectabletrait Derivedtrait ReSourceclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- EventBundle
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Source events with imperative occurrences
Source events with imperative occurrences
Attributes
- S
Struct type used for the propagation of the event
- T
Type returned when the event fires
- initialState
of by the event
- Inherited from:
- Sources
- Graph
- Supertypes
- trait Event[T]trait Disconnectabletrait EventCompat[T]trait Source[T]trait ReSourceclass Objecttrait Matchableclass Any
Class used for filtering ReactiveDeltaSeq
Class used for filtering ReactiveDeltaSeq
Attributes
- S
Structure of Delta
- T
Value inside Delta
- expression
filterExpression with return type boolean used for filtering elements inside the sequence
- in
the ReactiveDeltaSeq to filter
- initialState
...
- name
Name of the new filtered sequence
- Inherited from:
- IncrementalBundle
- Graph
- Supertypes
- trait ReactiveDeltaSeq[T]trait DisconnectableImpltrait Disconnectabletrait Derivedtrait ReSourceclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- FlattenApi
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- EventCompatBundle
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Source events with imperative occurrences
Source events with imperative occurrences
Attributes
- S
Struct type used for the propagation of the event
- T
Type returned when the event fires
- initialState
of by the event
- Inherited from:
- IncrementalBundle
- Graph
- Supertypes
- trait ReactiveDeltaSeq[T]trait DisconnectableImpltrait Disconnectabletrait Derivedtrait ReSourceclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- IncrementalBundle
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Further implementation of level-based propagation based on the common propagation implementation.
Further implementation of level-based propagation based on the common propagation implementation.
Attributes
- Inherited from:
- Levelbased
- Graph
- Supertypes
- trait Initializertrait Evaluatortrait TwoVersionTransactiontrait Transactionclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Levelbased
- Graph
- Supertypes
Class used for filtering ReactiveDeltaSeq
Class used for filtering ReactiveDeltaSeq
Attributes
- S
Structure of Delta
- T
Value inside Delta
- in
the ReactiveDeltaSeq to filter
- initialState
...
- name
Name of the new filtered sequence
- op
mapOperation to map sequence
- Inherited from:
- IncrementalBundle
- Graph
- Supertypes
- trait ReactiveDeltaSeq[A]trait DisconnectableImpltrait Disconnectabletrait Derivedtrait ReSourceclass Objecttrait Matchableclass Any
observers are normale reactives that are configured by a function that converts the value of the input into an ObserveInteract
observers are normale reactives that are configured by a function that converts the value of the input into an ObserveInteract
Attributes
- Inherited from:
- ObserveBundle
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ObserveBundle
- Graph
- Supertypes
Attributes
- S
Structure of Reactive Sequence source
- T
Type of values inside Deltas
- Inherited from:
- IncrementalBundle
- Graph
- Supertypes
- trait DisconnectableImpltrait Disconnectabletrait Derivedtrait ReSourceclass Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Inherited from:
- ReadableMacroBundle
- Graph
- Supertypes
- Known subtypes
- trait EventCompat[T]trait Event[T]class ChangeEventImpl[T]class EventImpl[T]class Evt[T]trait SignalCompat[T]trait Signal[T]class SignalImpl[T]class Var[A]class Reactor[T]
Time changing value derived from the dependencies.
Time changing value derived from the dependencies.
Attributes
- T
Type stored by the signal
- Inherited from:
- SignalBundle
- Graph
- Supertypes
- Known subtypes
- class SignalImpl[T]class Var[A]
Attributes
- Inherited from:
- SignalCompatBundle
- Graph
- Supertypes
- Known subtypes
Attributes
- isDynamicWithStaticDeps
None means static dependencies only, Some means dynamic with the given static ones for optimization
- Inherited from:
- DefaultImplementations
- Graph
- Supertypes
- trait Signal[T]trait SignalCompat[T]class DerivedImpl[T]trait DisconnectableImpltrait Disconnectabletrait Derivedtrait ReSourceclass Objecttrait Matchableclass Any
Functions to construct signals, you probably want to use signal expressions in rescala.interface.RescalaInterface.Signal for a nicer API.
Functions to construct signals, you probably want to use signal expressions in rescala.interface.RescalaInterface.Signal for a nicer API.
Attributes
- Inherited from:
- SignalBundle
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Implementation of the turn handling defined in the Engine trait
Implementation of the turn handling defined in the Engine trait
Attributes
- Tx
Transaction type used by the scheduler
- Inherited from:
- Twoversion
- Graph
- Supertypes
State that implements both the buffered pulse and the buffering capabilities itself.
State that implements both the buffered pulse and the buffering capabilities itself.
Attributes
- Inherited from:
- Twoversion
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class LevelState[V]class SidupState[V]
Abstract propagation definition that defines phases for reactive propagation through dependent reactive elements.
Abstract propagation definition that defines phases for reactive propagation through dependent reactive elements.
Attributes
- Inherited from:
- Twoversion
- Graph
- Supertypes
- Known subtypes
Basic implementation of the most fundamental propagation steps as defined by AbstractPropagation. Only compatible with spore definitions that store a pulse value and support graph operations.
Basic implementation of the most fundamental propagation steps as defined by AbstractPropagation. Only compatible with spore definitions that store a pulse value and support graph operations.
Attributes
- Inherited from:
- Twoversion
- Graph
- Supertypes
- Known subtypes
- trait LevelBasedTransactionclass SidupTransaction
Attributes
- Inherited from:
- SignalCompatBundle
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Source signals with imperatively updates.
Source signals with imperatively updates.
Attributes
- A
Type stored by the signal
- S
Struct type used for the propagation of the signal
- Inherited from:
- Sources
- Graph
- Supertypes
- trait Signal[A]trait SignalCompat[A]trait Disconnectabletrait Source[A]trait ReSourceclass Objecttrait Matchableclass Any
Value members
Inherited methods
Attributes
- Inherited from:
- EventCompatBundle
Flatten a Signal[Traversable[Event[B]]] into a Event[B]. The new Event fires the value of any inner firing Event. If multiple inner Events fire, the first one in iteration order is selected.
Flatten a Signal[Traversable[Event[B]]] into a Event[B]. The new Event fires the value of any inner firing Event. If multiple inner Events fire, the first one in iteration order is selected.
Attributes
- Inherited from:
- FlattenCollectionCompat
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
- RescalaInterface -> Any
- Inherited from:
- RescalaInterface
Flatten a Signal[Traversable[Event[B]]] into a Event[Traversable[Option[B]]] where the new Event fires whenever any of the inner events fire
Flatten a Signal[Traversable[Event[B]]] into a Event[Traversable[Option[B]]] where the new Event fires whenever any of the inner events fire
Attributes
- Inherited from:
- FlattenCollectionCompat
Extensions
Inherited extensions
Attributes
- Inherited from:
- EventCompatBundle
Implicits
Inherited implicits
Attributes
- Inherited from:
- RescalaInterface
Attributes
- Inherited from:
- RescalaInterface
Flatten a Signal[Array[Signal[B]]] into a Signal[Array[B]] where the new Signal updates whenever any of the inner or the outer signal updates
Flatten a Signal[Array[Signal[B]]] into a Signal[Array[B]] where the new Signal updates whenever any of the inner or the outer signal updates
Attributes
- Inherited from:
- FlattenApi
Flatten a Signal[Event[B]]] into a Event[B] where the new Event fires whenever the current inner event fires
Flatten a Signal[Event[B]]] into a Event[B] where the new Event fires whenever the current inner event fires
Attributes
- Inherited from:
- FlattenApi
Flatten a Event[Option[B]] into a Event[B] that fires whenever the inner option is defined.
Flatten a Event[Option[B]] into a Event[B] that fires whenever the inner option is defined.
Attributes
- Inherited from:
- FlattenApi
Flatten a Signal[Option[Signal[B]]] into a Signal[Option[B]] where the new Signal updates whenever any of the inner or the outer signal updates
Flatten a Signal[Option[Signal[B]]] into a Signal[Option[B]] where the new Signal updates whenever any of the inner or the outer signal updates
Attributes
- Inherited from:
- FlattenApi
Flatten a Signal[Signal[B]] into a Signal[B] that changes whenever the outer or inner signal changes.
Flatten a Signal[Signal[B]] into a Signal[B] that changes whenever the outer or inner signal changes.
Attributes
- Inherited from:
- FlattenApi
Flatten a Signal[Traversable[Signal[B]]] into a Signal[Traversable[B]] where the new Signal updates whenever any of the inner or the outer signal updates
Flatten a Signal[Traversable[Signal[B]]] into a Signal[Traversable[B]] where the new Signal updates whenever any of the inner or the outer signal updates
Attributes
- Inherited from:
- FlattenCollectionCompat