EventBundle

rescala.operator.EventBundle

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Operators
object sidup.type
object synchron.type
object toposort.type
object unmanaged.type
object default.type
object IncrementalApi.type
Self type

Members list

Concise view

create

object Event

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 Object
trait Matchable
class Any

Type members

Classlikes

trait Event[+T] extends EventCompat[T] with Disconnectable

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.

Graph
Supertypes
trait EventCompat[T]
trait ReadAs[State, Option[T]]
trait ReSource
class Object
trait Matchable
class Any
Known subtypes
class EventImpl[T]
class Evt[T]
object Events

Attributes

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

Inherited classlikes

trait EventCompat[+T] extends ReadableMacro[State, Option[T]]

Attributes

Inherited from:
EventCompatBundle
Graph
Supertypes
trait ReadAs[State, Option[T]]
trait ReSource
class Object
trait Matchable
class Any
Known subtypes
trait Event[T]
class EventImpl[T]
class Evt[T]
object Fold

Attributes

Inherited from:
EventCompatBundle
Graph
Supertypes
class Object
trait Matchable
class Any
trait ReadableMacro[S[_], +A] extends ReadAs[S, A] with MacroAccess[A, ReadAs[S, A]]

Attributes

Inherited from:
ReadableMacroBundle
Graph
Supertypes
trait MacroAccess[A, ReadAs[S, A]]
trait ReadAs[S, A]
trait ReSource
class Object
trait Matchable
class Any
Known subtypes
trait EventCompat[T]
trait Event[T]
class EventImpl[T]
class Evt[T]
trait SignalCompat[T]
trait Signal[T]
class SignalImpl[T]
class Var[A]
class Reactor[T]

Value members

Inherited methods

inline def current[S](using fs: FoldState[S]): S

Attributes

Inherited from:
EventCompatBundle

Extensions

Inherited extensions

extension [T](e: Event[T])
inline def act[S](inline f: FoldState[S] ?=> T => S): Branch[S]

Attributes

Inherited from:
EventCompatBundle