com.raquo.airstream.eventbus

Type members

Classlikes

class EventBus[A] extends EventSource[A] with Sink[A] with Named

EventBus combines a WriteBus and a stream of its events.

EventBus combines a WriteBus and a stream of its events.

writer and events are made separate to allow you to manage permissions. For example, you can pass only the writer instance to a function that should only have access to writing events, not reading all events from the bus.

Companion:
object
object EventBus
Companion:
class
class WriteBus[A] extends Observer[A]
Companion:
object
object WriteBus
Companion:
class