Object

rescala.Schedulers

unmanaged

Related Doc: package Schedulers

Permalink

object unmanaged extends Unmanaged with RescalaInterface

Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. unmanaged
  2. RescalaInterface
  3. Operators
  4. ObserveBundle
  5. Sources
  6. FlattenApi
  7. FlattenCollectionCompat
  8. SignalBundle
  9. SignalCompatBundle
  10. EventBundle
  11. EventCompatBundle
  12. ReadableMacroBundle
  13. DefaultImplementations
  14. Unmanaged
  15. NoLock
  16. Levelbased
  17. Twoversion
  18. Core
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AccessHandler extends AnyRef

    Permalink
    Definition Classes
    Core
  2. final class AdmissionTicket extends AnyRef

    Permalink

    Enables reading of the current value during admission.

    Enables reading of the current value during admission. Keeps track of written sources internally.

    Definition Classes
    Core
  3. abstract class Base[V] extends ReSource

    Permalink

    Base implementation for reactives, with Derived for scheduling, together with a ReName and containing a State

    Base implementation for reactives, with Derived for scheduling, together with a ReName and containing a State

    Definition Classes
    Core
  4. class ChangeEventImpl[T] extends Operators.Base[(Pulse[T], Pulse[Diff[T]])] with Operators.Derived with Operators.Event[Diff[T]] with Operators.DisconnectableImpl

    Permalink
    Definition Classes
    DefaultImplementations
  5. final class CreationTicket extends AnyRef

    Permalink

    Enables the creation of other reactives

    Enables the creation of other reactives

    Definition Classes
    Core
    Annotations
    @implicitNotFound( ... )
  6. trait Derived extends ReSource

    Permalink

    A reactive value is something that can be reevaluated

    A reactive value is something that can be reevaluated

    Definition Classes
    Core
  7. abstract class DerivedImpl[T] extends Operators.Base[Pulse[T]] with Operators.Derived with Operators.DisconnectableImpl

    Permalink
    Definition Classes
    DefaultImplementations
  8. trait Disconnectable extends AnyRef

    Permalink

    Essentially a kill switch, that will remove the reactive at some point.

    Essentially a kill switch, that will remove the reactive at some point.

    Definition Classes
    Core
  9. trait DisconnectableImpl extends Derived with Disconnectable

    Permalink

    Removes the reactive instead of its next normal reevaluation.

    Removes the reactive instead of its next normal reevaluation. This makes use of the fact, that all reactives are technically dynamic reactives, and removing incoming dependencies is always kinda safe, as long as we are sure we no longer care!

    Definition Classes
    Core
  10. trait DynamicScope extends AnyRef

    Permalink

    Provides the capability to look up transactions in the dynamic scope.

    Provides the capability to look up transactions in the dynamic scope.

    Definition Classes
    Core
  11. abstract class DynamicTicket extends StaticTicket

    Permalink

    User facing low level API to access values in a dynamic context.

    User facing low level API to access values in a dynamic context.

    Definition Classes
    Core
  12. trait Event[+T] extends Operators.EventCompat[T] with Operators.Disconnectable

    Permalink

    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.

    T

    Value type of the event occurrences.

    Definition Classes
    EventBundle
  13. trait EventCompat[+T] extends operator.Operators.ReadableMacro[Option[T]]

    Permalink
    Definition Classes
    EventCompatBundle
  14. class EventImpl[T] extends Operators.DerivedImpl[T] with Operators.Event[T]

    Permalink

    Definition Classes
    DefaultImplementations
  15. class Evt[T] extends Operators.Base[Pulse[T]] with Operators.Source[T] with Operators.Event[T]

    Permalink

    Source events with imperative occurrences

    Source events with imperative occurrences

    T

    Type returned when the event fires

    Definition Classes
    Sources
  16. trait Flatten[-A, R] extends AnyRef

    Permalink
    Definition Classes
    FlattenApi
    Annotations
    @implicitNotFound( ... )
  17. trait InitialChange extends AnyRef

    Permalink

    Encapsulates an action changing a single source.

    Encapsulates an action changing a single source.

    Definition Classes
    Core
  18. trait Initializer extends AnyRef

    Permalink

    An initializer is the glue between that binds the creation of the reactive from the operator and scheduler side together.

    An initializer is the glue between that binds the creation of the reactive from the operator and scheduler side together. The operator provides the logic to wrap a state and the scheduler provides the implementation of that state. This is where the two are joined. After that, the new reactive may have to be initialized.

    Definition Classes
    Core
  19. trait LevelBasedTransaction extends TwoVersionTransactionImpl with Evaluator with Initializer

    Permalink

    Further implementation of level-based propagation based on the common propagation implementation.

    Further implementation of level-based propagation based on the common propagation implementation.

    Definition Classes
    Levelbased
  20. class LevelState[V] extends TwoVersionState[V]

    Permalink
    Definition Classes
    Levelbased
  21. sealed trait LowPriorityScopeImplicits extends AnyRef

    Permalink

    If no Fitting Ticket is found, then these implicits will search for a DynamicScope, creating the reactives outside of any turn.

    If no Fitting Ticket is found, then these implicits will search for a DynamicScope, creating the reactives outside of any turn.

    Definition Classes
    Core
  22. trait Observation extends AnyRef

    Permalink

    Records side effects for later execution.

    Records side effects for later execution.

    Definition Classes
    Core
  23. trait ObserveInteract extends Observation

    Permalink
    Definition Classes
    ObserveBundle
  24. trait ReSource extends AnyRef

    Permalink

    Source of (reactive) values.

    Source of (reactive) values.

    Definition Classes
    Core
  25. trait ReadAs[+A] extends ReSource

    Permalink

    Common macro accessors for rescala.operator.SignalBundle.Signal and rescala.operator.EventBundle.Event

    A

    return type of the accessor

    Definition Classes
    Core
  26. trait ReadableMacro[+A] extends ReadAs[A] with MacroAccess[A, ReadAs[A]]

    Permalink
    Definition Classes
    ReadableMacroBundle
  27. final class ReevTicket[V] extends DynamicTicket with Result[V]

    Permalink

    ReevTicket is given to the Derived reevaluate method and allows to access other reactives.

    ReevTicket is given to the Derived reevaluate method and allows to access other reactives. The ticket tracks return values, such as dependencies, the value, and if the value should be propagated. Such usages make it unsuitable as an API for the user, where StaticTicket or DynamicTicket should be used instead.

    Definition Classes
    Core
  28. trait Result[T] extends AnyRef

    Permalink

    Result of a reevaluation

    Result of a reevaluation

    Definition Classes
    Core
  29. trait Scheduler extends DynamicScope

    Permalink

    Scheduler that defines the basic data-types available to the user and creates turns for propagation handling.

    Scheduler that defines the basic data-types available to the user and creates turns for propagation handling. Note: This should NOT extend DynamicScope, but did so in the past and there are too many tests that assume so ...

    Definition Classes
    Core
    Annotations
    @implicitNotFound( ... )
  30. trait SchedulerImpl[Tx <: Transaction] extends DynamicScope with Scheduler

    Permalink
    Definition Classes
    Core
  31. case class ScopeSearch(self: Either[Transaction, DynamicScope]) extends Product with Serializable

    Permalink
    Definition Classes
    Core
  32. trait Signal[+T] extends Operators.Disconnectable with Operators.SignalCompat[T]

    Permalink

    Time changing value derived from the dependencies.

    Time changing value derived from the dependencies.

    T

    Type stored by the signal

    Definition Classes
    SignalBundle
  33. trait SignalCompat[+T] extends operator.Operators.ReadableMacro[T]

    Permalink
    Definition Classes
    SignalCompatBundle
  34. class SignalImpl[T] extends Operators.DerivedImpl[T] with Operators.Signal[T]

    Permalink

    Definition Classes
    DefaultImplementations
  35. trait Source[T] extends Operators.ReSource

    Permalink
    Definition Classes
    Sources
  36. type State[V] = LevelState[V]

    Permalink

    In case you wondered why everything in REScala is in these weird bundle traits, this is why.

    In case you wondered why everything in REScala is in these weird bundle traits, this is why. The ReSource below depends on some abstract state, which is defined by the concrete scheduler implementations. As basically everything else references ReSources, everything must be bundled together. This is good for users, because they get strong guarantees about the used correctness, and the API is still OK. Its terrible for us, because the Scala Incremental compiler does not really work anymore.

    Definition Classes
    NoLockLevelbasedTwoversionCore
  37. sealed abstract class StaticTicket extends AnyRef

    Permalink

    User facing low level API to access values in a static context.

    User facing low level API to access values in a static context.

    Definition Classes
    Core
  38. trait Transaction extends AnyRef

    Permalink

    A transaction (or maybe transaction handle would be the better term) is available from reevaluation and admission tickets.

    A transaction (or maybe transaction handle would be the better term) is available from reevaluation and admission tickets. That is, everywhere during a transaction, you can read reactives, but also create them. The reading values is core to any reactive propagation. But creating reactives using the Initializer is a liability to the scheduler, but a superpower to the operators. Its a classical tradeoff, but it would be better to not make this choice by default, that is, reactive creation should be limited such that we can experiment with schedulers that do not have this liability.

    Definition Classes
    Core
  39. trait TwoVersionScheduler[Tx <: TwoVersionTransaction] extends SchedulerImpl[Tx]

    Permalink

    Implementation of the turn handling defined in the Engine trait

    Implementation of the turn handling defined in the Engine trait

    Tx

    Transaction type used by the scheduler

    Definition Classes
    Twoversion
  40. abstract class TwoVersionState[V] extends AnyRef

    Permalink

    State that implements both the buffered pulse and the buffering capabilities itself.

    State that implements both the buffered pulse and the buffering capabilities itself.

    Definition Classes
    Twoversion
  41. sealed trait TwoVersionTransaction extends Transaction

    Permalink

    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.

    Definition Classes
    Twoversion
  42. trait TwoVersionTransactionImpl extends TwoVersionTransaction

    Permalink

    Basic implementation of the most fundamental propagation steps as defined by AbstractPropagation.

    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.

    Definition Classes
    Twoversion
  43. class UserDefinedFunction[+T, Dep, Cap] extends AnyRef

    Permalink
    Definition Classes
    SignalCompatBundle
  44. class Var[A] extends Operators.Base[Pulse[A]] with Operators.Source[A] with Operators.Signal[A] with Operators.ReadAs[A]

    Permalink

    Source signals with imperatively updates.

    Source signals with imperatively updates.

    A

    Type stored by the signal

    Definition Classes
    Sources

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object CreationTicket

    Permalink
    Definition Classes
    Core
  5. object Event

    Permalink

    Similar to rescala.compat.SignalCompatBundle.Signal expressions, but resulting in an event.

    Similar to rescala.compat.SignalCompatBundle.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
    EventCompatBundle
    See also

    rescala.compat.SignalCompatBundle.Signal

  6. object Events

    Permalink
    Definition Classes
    EventBundle
  7. final def Evt[A]()(implicit ticket: CreationTicket): Evt[A]

    Permalink

    Definition Classes
    Sources
  8. object Observe

    Permalink

    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

    Definition Classes
    ObserveBundle
  9. implicit def OnEv[T](e: Event[T]): OnEv[T]

    Permalink
    Definition Classes
    RescalaInterface
  10. implicit def OnEvs[T](e: ⇒ Seq[Event[T]]): OnEvs[T]

    Permalink
    Definition Classes
    RescalaInterface
  11. object ScopeSearch extends LowPriorityScopeImplicits with Serializable

    Permalink

    As reactives can be created during propagation, any Ticket can be converted to a creation ticket.

    As reactives can be created during propagation, any Ticket can be converted to a creation ticket.

    Definition Classes
    Core
  12. object Signal

    Permalink

    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
    SignalCompatBundle
  13. object Signals

    Permalink

    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.

    Definition Classes
    SignalBundle
  14. object UserDefinedFunction

    Permalink
    Definition Classes
    SignalCompatBundle
  15. object Var

    Permalink

    Creates new Vars

    Creates new Vars

    Definition Classes
    Sources
  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def firstFiringEvent[B, T[U] <: TraversableLike[U, T[U]], Evnt[A1] <: Event[A1]](implicit ticket: CreationTicket, cbf: CanBuildFrom[T[_], Option[B], T[Option[B]]]): Flatten[Signal[T[Evnt[B]]], Event[B]]

    Permalink

    Flatten a Signal[Traversable[Event[B]\]\] into a Event[B].

    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.

    Definition Classes
    FlattenCollectionCompat
  21. implicit def flattenImplicitForarraySignals[B, Sig[U] <: Signal[U]](implicit arg0: ClassTag[B], ticket: CreationTicket): Flatten[Signal[Array[Sig[B]]], Signal[Array[B]]]

    Permalink

    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

    Definition Classes
    FlattenApi
  22. implicit def flattenImplicitForevent[A, B, Evnt[A1] <: Event[A1]](implicit ticket: CreationTicket): Flatten[Signal[Evnt[B]], Event[B]]

    Permalink

    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

    Definition Classes
    FlattenApi
  23. implicit def flattenImplicitForoption[A, B](implicit ticket: CreationTicket): Flatten[Event[Option[B]], Event[B]]

    Permalink

    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.

    Definition Classes
    FlattenApi
  24. implicit def flattenImplicitForoptionSignal[B, Sig[U] <: Signal[U]](implicit ticket: CreationTicket): Flatten[Signal[Option[Sig[B]]], Signal[Option[B]]]

    Permalink

    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

    Definition Classes
    FlattenApi
  25. implicit def flattenImplicitForsignal[B](implicit ticket: CreationTicket): Flatten[Signal[Signal[B]], Signal[B]]

    Permalink

    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.

    Definition Classes
    FlattenApi
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  27. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  28. implicit def implicitScheduler: Scheduler

    Permalink

    Definition Classes
    RescalaInterface
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  33. val scheduler: Scheduler

    Permalink
    Definition Classes
    Unmanaged
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    RescalaInterface → AnyRef → Any
  36. def transaction[R](initialWrites: ReSource*)(admissionPhase: (AdmissionTicket) ⇒ R): R

    Permalink

    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 rescala.operator.Sources.Evt.admit / rescala.operator.Sources.Var.admit arbitrary input changes that will be applied as an atomic transaction at the end.

    returns

    Result of the admission function

    Definition Classes
    RescalaInterface
    Example:
    1. transaction(a, b){ implicit at => a.set(5); b.set(1); at.now(a) }

  37. def transactionWithWrapup[I, R](iw: ReSource*)(ap: (AdmissionTicket) ⇒ I)(wrapUp: (I, Transaction) ⇒ R): R

    Permalink

    Executes a transaction with WrapUpPhase.

    Executes a transaction with WrapUpPhase.

    Definition Classes
    RescalaInterface
    See also

    transaction

  38. def traversableOfAllOccuringEventValues[B, T[U] <: TraversableLike[U, T[U]], Evnt[A1] <: Event[A1]](implicit ticket: CreationTicket, cbf: CanBuildFrom[T[_], Option[B], T[Option[B]]]): Flatten[Signal[T[Evnt[B]]], Event[T[Option[B]]]]

    Permalink

    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

    Definition Classes
    FlattenCollectionCompat
  39. implicit def traversableSignals[B, T[U] <: TraversableLike[U, T[U]], Sig[A1] <: Signal[A1]](implicit ticket: CreationTicket, cbf: CanBuildFrom[T[_], B, T[B]]): Flatten[Signal[T[Sig[B]]], Signal[T[B]]]

    Permalink

    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

    Definition Classes
    FlattenCollectionCompat
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    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 RescalaInterface

Inherited from Operators

Inherited from ObserveBundle

Inherited from Sources

Inherited from FlattenApi

Inherited from FlattenCollectionCompat

Inherited from SignalBundle

Inherited from SignalCompatBundle

Inherited from EventBundle

Inherited from EventCompatBundle

Inherited from ReadableMacroBundle

Inherited from DefaultImplementations

Inherited from Unmanaged

Inherited from NoLock

Inherited from Levelbased

Inherited from Twoversion

Inherited from Core

Inherited from AnyRef

Inherited from Any

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