Signals

rescala.operator.SignalBundle.Signals$
object Signals

Functions to construct signals, you probably want to use signal expressions in rescala.interface.RescalaInterface.Signal for a nicer API.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Signals.type

Members list

Concise view

Value members

Concrete methods

def dynamic[T](dependencies: of[State]*)(expr: DynamicTicket => T)(implicit ct: CreationTicket): Signal[T]

creates a signal that has dynamic dependencies (which are detected at runtime with Signal.apply(turn))

creates a signal that has dynamic dependencies (which are detected at runtime with Signal.apply(turn))

Attributes

def dynamicNoVarargs[T](dependencies: Seq[of[State]])(expr: DynamicTicket => T)(implicit ct: CreationTicket): Signal[T]

creates a signal that has dynamic dependencies (which are detected at runtime with Signal.apply(turn))

creates a signal that has dynamic dependencies (which are detected at runtime with Signal.apply(turn))

Attributes

def fold[T](dependencies: Set[of[State]], init: T)(expr: StaticTicket => (() => T) => T)(implicit ticket: CreationTicket): Signal[T]
def fromFuture[A](fut: Future[A])(implicit scheduler: Scheduler[State], ec: ExecutionContext, name: ReInfo): Signal[A]

converts a future to a signal

converts a future to a signal

Attributes

def lift[A, R](los: Seq[Signal[A]])(fun: Seq[A] => R)(implicit maybe: CreationTicket): Signal[R]
def lift[A1, B](n1: Signal[A1])(fun: A1 => B)(implicit maybe: CreationTicket): Signal[B]
def lift[A1, A2, B](n1: Signal[A1], n2: Signal[A2])(fun: (A1, A2) => B)(implicit maybe: CreationTicket): Signal[B]
def ofUDF[T](udf: UserDefinedFunction[T, of[State], DynamicTicket])(implicit ct: CreationTicket): Signal[T]
def stateful[T](dependencies: of[State]*)(expr: StaticTicket => T)(implicit ct: CreationTicket): Signal[T]

creates a new static signal depending on the dependencies, reevaluating the function

creates a new static signal depending on the dependencies, reevaluating the function

Attributes

def static[T](dependencies: of[State]*)(expr: StaticTicket[State] => T)(implicit ct: CreationTicket): Signal[T]

creates a new static signal depending on the dependencies, reevaluating the function

creates a new static signal depending on the dependencies, reevaluating the function

Attributes

def staticNoVarargs[T](dependencies: Seq[of[State]])(expr: StaticTicket => T)(implicit ct: CreationTicket): Signal[T]

creates a new static signal depending on the dependencies, reevaluating the function

creates a new static signal depending on the dependencies, reevaluating the function

Attributes