EventSink

kreuzberg.EventSink$
See theEventSink companion trait
object EventSink

Attributes

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

Members list

Type members

Classlikes

case class ChannelSink[E](channel: WeakReference[Channel[E]]) extends EventSink[E]

Trigger a Channel.

Trigger a Channel.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait EventSink[E]
class Object
trait Matchable
class Any
Show all
object ChannelSink

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ContraCollect[E, F](sink: EventSink[E], pf: PartialFunction[F, E]) extends EventSink[F]

Applies a partial function before calling the sink.

Applies a partial function before calling the sink.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSink[F]
class Object
trait Matchable
class Any
Show all
case class ContraMap[E, F](sink: EventSink[E], f: F => E) extends EventSink[F]

Applies a map function before calling a sink.

Applies a map function before calling a sink.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSink[F]
class Object
trait Matchable
class Any
Show all
case class ExecuteCode[E](f: E => Unit) extends EventSink[E]

Execute some custom Code

Execute some custom Code

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSink[E]
class Object
trait Matchable
class Any
Show all
case class ModelChange[E, M](model: Model[M], f: (E, M) => M) extends EventSink[E]

Issue a model change

Issue a model change

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSink[E]
class Object
trait Matchable
class Any
Show all
case class Multiple[E](sinks: Vector[EventSink[E]]) extends EventSink[E]

Chain multiple sinks.

Chain multiple sinks.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSink[E]
class Object
trait Matchable
class Any
Show all
case class SetProperty[D <: ScalaJsElement, S](property: JsProperty[D, S]) extends EventSink[S]

Set a javascript property

Set a javascript property

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EventSink[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