EventBroker
Home > @backstage/plugin-events-node > EventBroker
Warning: This API is now obsolete.
use
EventsServiceinstead
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 |
|---|---|
|
Publishes an event for the topic. | |
|
Adds new subscribers for . |