Handler
kreuzberg.EventSink.Handler
case class Handler[E](f: (HandlerContext, E) => Unit) extends EventSink[E]
An imperative handler.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait EventSink[E]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Add another sink
Applies a partial function before calling the sink.
Applies a map function before calling a sink.
Attributes
- Inherited from:
- EventSink
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Like trigger, but for Unit and or Any
Call from an imperative handler
In this article