@breadstone/ziegel-platform-messaging
Classes
| Class | Description |
|---|---|
| EventAggregator | Default event aggregator implementation for events. |
| EventSubscription | Provides a way to retrieve a function to execute an action depending on the value of a second filter predicate that returns true if the action should execute. |
| PubSubEvent | Defines a class that manages publication and subscription to events. |
| SubscriptionToken | Subscription token returned from PubSubEvent on subscribe. |
Interfaces
| Interface | Description |
|---|---|
| IEventAggregator | Defines an interface to get instances of an event. |
| IEventSubscription | Defines a contract for an event subscription. |
Functions
| Function | Description |
|---|---|
| Event | A decorator that handles the unique key for the PubSubEvent. Decoration usage as ClassDecorator. |
| fromPubSubEvent | Converts a PubSubEvent to a Observable. |