Skip to main content

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

MethodDescription
publish(params)Publishes an event for the topic.
subscribe(options)Subscribes to one or more topics, registering an event handler for them.