EventBroker
Home > @backstage/plugin-events-node
> EventBroker
Warning: This API is now obsolete.
use
EventsService
instead
Allows a decoupled and asynchronous communication between components. Components can publish events for a given topic and others can subscribe for future events for topics they are interested in.
Signature:
export interface EventBroker
Methods
Method | Description |
---|---|
publish(params) | Publishes an event for the topic. |
subscribe(subscribers) | Adds new subscribers for . |