Skip to main content

DefaultEventsService

Home > @backstage/plugin-events-node > DefaultEventsService

In-process event broker which will pass the event to all registered subscribers interested in it. Events will not be persisted in any form. Events will not be passed to subscribers at other instances of the same cluster.

Signature:

class DefaultEventsService implements EventsService 

Implements: EventsService

Methods

MethodModifiersDescription
create(options)static
forPlugin(pluginId)Returns a plugin-scoped context of the EventService that ensures to prefix subscriber IDs with the plugin ID.
publish(params)
subscribe(options)