Core

trait Core
class Object
trait Matchable
class Any

Type members

Classlikes

abstract
class AdmissionTicket(initializer: Initializer, declaredWrites: Set[ReSource]) extends InnerTicket with AccessTicket

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

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

abstract
class Base[V](val state: State[V], val name: ReName) extends ReSource

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

Value Params
name

the name of the reactive, useful for debugging as it often contains positional information

state

the initial state passed by the scheduler

@implicitNotFound(msg = "Could not find capability to create reactives. Maybe a missing import?")
final
class CreationTicket(val self: Either[Initializer, Scheduler], val rename: ReName)

Enables the creation of other reactives

Enables the creation of other reactives

Companion
object

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

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

Companion
class
trait Derived extends ReSource

A reactive value is something that can be reevaluated

A reactive value is something that can be reevaluated

trait DynamicInitializerLookup[ExactInitializer <: Initializer] extends Scheduler
abstract
class DynamicTicket(creation: Initializer) extends StaticTicket

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

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

Encapsulates an action changing a single source.

Encapsulates an action changing a single source.

class InnerTicket(val initializer: Initializer)

InnerTickets are used in Rescala to give capabilities to contexts during propagation. ReevTicket is used during reevaluation, and AdmissionTicket during the initialization.

InnerTickets are used in Rescala to give capabilities to contexts during propagation. ReevTicket is used during reevaluation, and AdmissionTicket during the initialization.

trait Interp[+A] extends ReSource
Type Params
A

return type of the accessor

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

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

trait ReSource

Source of (reactive) values. State can only be accessed with a correct InnerTicket.

Source of (reactive) values. State can only be accessed with a correct InnerTicket.

abstract
class ReevTicket[V](initializer: Initializer, var _before: V) extends DynamicTicket with Result[V]

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.

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.

trait Result[T]
object Scheduler
Companion
class
@implicitNotFound(msg = "Could not find an implicit propagation engine. Did you forget an import?")
trait Scheduler

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

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

Type Params
S

Struct type that defines the spore type used to manage the reactive evaluation

Companion
object
sealed abstract
class StaticTicket(creation: Initializer) extends InnerTicket

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

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

Types

type State[_]