EventSource

kreuzberg.EventSource$
See theEventSource companion trait
object EventSource

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class AndSource[E](binding: SourceSink[E]) extends EventSource[E]

Pseudo Event source, to chain multiple reactions on one source.

Pseudo Event source, to chain multiple reactions on one source.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSource[E]
trait EventSourceDsl[E]
class Object
trait Matchable
class Any
Show all
case object Assembled extends EventSource[Unit]

Object got assembled.

Object got assembled.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait EventSource[Unit]
trait EventSourceDsl[Unit]
trait EventSourceActions[Unit]
class Object
trait Matchable
class Any
Show all
Self type
Assembled.type
case class ChannelSource[E](channel: WeakReference[Channel[E]]) extends EventSource[E]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait EventSource[E]
trait EventSourceDsl[E]
class Object
trait Matchable
class Any
Show all
object ChannelSource

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CollectEvent[E, F](from: EventSource[E], fn: PartialFunction[E, F]) extends EventSource[F]

Some collect function.

Some collect function.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSource[F]
trait EventSourceDsl[F]
class Object
trait Matchable
class Any
Show all
case class EffectEvent[E, R](trigger: EventSource[E], effectOperation: E => Effect[R]) extends EventSource[(E, Try[R])]

Some side effect operation (e.g. API Call)

Some side effect operation (e.g. API Call)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSource[(E, Try[R])]
trait EventSourceDsl[(E, Try[R])]
trait EventSourceActions[(E, Try[R])]
trait EventSourceDslModifiers[(E, Try[R])]
class Object
trait Matchable
class Any
Show all
case class Js[E](jsEvent: JsEvent[E]) extends EventSource[E]

JS Event

JS Event

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait EventSource[E]
trait EventSourceDsl[E]
class Object
trait Matchable
class Any
Show all
object Js

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Js.type
case class MapSource[E, F](from: EventSource[E], fn: E => F) extends EventSource[F]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSource[F]
trait EventSourceDsl[F]
class Object
trait Matchable
class Any
Show all
case class OrSource[E](left: EventSource[E], right: EventSource[E]) extends EventSource[E]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSource[E]
trait EventSourceDsl[E]
class Object
trait Matchable
class Any
Show all
case class TapSource[E](inner: EventSource[E], fn: E => Unit) extends EventSource[E]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSource[E]
trait EventSourceDsl[E]
class Object
trait Matchable
class Any
Show all
case class Timer(duration: FiniteDuration, periodic: Boolean) extends EventSource[Unit]

A Timer.

A Timer.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSource[Unit]
trait EventSourceDsl[Unit]
trait EventSourceActions[Unit]
class Object
trait Matchable
class Any
Show all
case class WithState[E, S](inner: EventSource[E], runtimeState: RuntimeState[S]) extends EventSource[(E, S)]

Add some component state to the Event.

Add some component state to the Event.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSource[(E, S)]
trait EventSourceDsl[(E, S)]
trait EventSourceActions[(E, S)]
trait EventSourceDslModifiers[(E, S)]
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror