EventsService
Home > @backstage/plugin-events-node > EventsService
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 EventsService
Methods
|
Method |
Description |
|---|---|
|
Publishes an event for the topic. | |
|
Subscribes to one or more topics, registering an event handler for them. |