Skip to main content
Version: Next

DefaultEventBroker

Home > @backstage/plugin-events-backend > DefaultEventBroker

Warning: This API is now obsolete.

use DefaultEventsService from @backstage/plugin-events-node instead

In process event broker which will pass the event to all registered subscribers interested in it. Events will not be persisted in any form.

Signature:

class DefaultEventBroker implements EventBroker 

Implements: EventBroker

Constructors

Constructor

Modifiers

Description

(constructor)(logger, events)

Constructs a new instance of the DefaultEventBroker class

Methods

Method

Modifiers

Description

publish(params)

subscribe(subscribers)