rescala.structure

Members list

Type members

Classlikes

class ChangeEventImpl[S[_], T](initial: S[(Pulse[T], Pulse[Diff[T]])], signal: of[S] { type Value <: Pulse[T]; }, name: ReInfo) extends Base[S, (Pulse[T], Pulse[Diff[T]])], Derived, DisconnectableImpl

Attributes

Supertypes
trait Derived
class Base[S, (Pulse[T], Pulse[Diff[T]])]
trait ReSource
class Object
trait Matchable
class Any
Show all
abstract class DerivedImpl[S[_], T](initial: S[Pulse[T]], name: ReInfo, isDynamicWithStaticDeps: Option[Set[of[S]]]) extends Base[S, Pulse[T]], Derived, DisconnectableImpl

Attributes

Supertypes
trait Derived
class Base[S, Pulse[T]]
trait ReSource
class Object
trait Matchable
class Any
Show all
Known subtypes
class EventImpl[State, T]
class SignalImpl[S, T]
final class Diff[+A](val from: Pulse[A], val to: Pulse[A])

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Diff

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Diff.type
class EventImpl[State[_], T](initial: State[Pulse[T]], expr: (DynamicTicket[State]) => Pulse[T], name: ReInfo, isDynamicWithStaticDeps: Option[Set[of[State]]]) extends DerivedImpl[State, T]

Value parameters

isDynamicWithStaticDeps

If this is None, the event is static. Else, it is dynamic with the set of static dependencies

Attributes

Supertypes
class DerivedImpl[State, T]
trait Derived
class Base[State, Pulse[T]]
trait ReSource
class Object
trait Matchable
class Any
Show all
object Observe

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

Supertypes
class Object
trait Matchable
class Any
Self type
Observe.type
sealed trait Pulse[+P]

Pulse that stores a current value and can also indicate a potentially change to an updated value. A pulse may indicate that no current value has been set yet but updates must always contain a value.

Pulse that stores a current value and can also indicate a potentially change to an updated value. A pulse may indicate that no current value has been set yet but updates must always contain a value.

Type parameters

P

Stored value type of the Pulse

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Exceptional
object NoChange
class Value[P]
object Pulse

Object containing utility functions for using pulses

Object containing utility functions for using pulses

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Pulse.type
object RExceptions

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
abstract class SignalImpl[S[_], T](initial: S[Pulse[T]], expr: (DynamicTicket[S], () => T) => T, name: ReInfo, isDynamicWithStaticDeps: Option[Set[of[S]]]) extends DerivedImpl[S, T]

Value parameters

isDynamicWithStaticDeps

None means static dependencies only, Some means dynamic with the given static ones for optimization

Attributes

Supertypes
class DerivedImpl[S, T]
trait Derived
class Base[S, Pulse[T]]
trait ReSource
class Object
trait Matchable
class Any
Show all