EventRouter.subscribe()
Home > @backstage/plugin-events-node > EventRouter > subscribe
Subscribes itself to the topic(s), after which events potentially can be received and processed by EventRouter.onEvent().
Signature:
subscribe(): Promise<void>;
Returns:
Promise<void>