Skip to main content
Version: Next

EventRouter

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

Subscribes to a topic and - depending on a set of conditions - republishes the event to another topic.

Signature:

abstract class EventRouter 

Constructors

ConstructorModifiersDescription
(constructor)(options)protectedConstructs a new instance of the EventRouter class

Methods

MethodModifiersDescription
determineDestinationTopic(params)

protected

abstract

getSubscriberId()

protected

abstract

onEvent(params)
subscribe()Subscribes itself to the topic(s), after which events potentially can be received and processed by EventRouter.onEvent().