EventSink

kreuzberg.EventSink
See theEventSink companion object
sealed trait EventSink[-E]

Sink of an EventBinding

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ChannelSink[E]
class ExecuteCode[E]
class ModelChange[E, M]
class PreTransformer[E, F]
class SetProperty[D, S]

Members list

Value members

Concrete methods

inline def and[T <: E](sink: EventSink[T]): EventSink[T]

Add another sink

Add another sink

Attributes

inline def contraCollect[F](pf: PartialFunction[F, E]): EventSink[F]

Applies a partial function before calling the sink.

Applies a partial function before calling the sink.

Attributes

def contraMap[F](f: F => E): EventSink[F]

Applies a map function before calling a sink.

Applies a map function before calling a sink.

Attributes

inline def preTransform[F, T <: E](transformer: EventTransformer[F, T]): EventSink[F]