package extra
Type Members
- trait Publisher[Evt] extends AnyRef
Publisher[A,This]
objects publish events of typeA
to all registered subscribers.Publisher[A,This]
objects publish events of typeA
to all registered subscribers. When subscribing, a subscriber may specify a filter which can be used to constrain the number of events sent to the subscriber. Subscribers may suspend their subscription, or reactivate a suspended subscription. ClassPublisher
is typically used as a mixin. The abstract typePub
models the type of the publisher itself.- Evt
type of the published event.
- Since
1
- trait Subscriber[-Evt, -Pub] extends AnyRef
Subscriber[A, B]
objects may subscribe to events of typeA
published by an object of typeB
.Subscriber[A, B]
objects may subscribe to events of typeA
published by an object of typeB
.B
is typically a subtype of ij_plugins.scala.console.editor.extra.Publisher.- Since
1