Skip to main content
Version: Next

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

Method

Modifiers

Description

create(options)

static

forPlugin(pluginId, options)

Returns a plugin-scoped context of the EventService that ensures to prefix subscriber IDs with the plugin ID.

publish(params)

subscribe(options)