EventBroker.subscribe()
Home > @backstage/plugin-events-node
> EventBroker
> subscribe
Adds new subscribers for .
Signature:
subscribe(...subscribers: Array<EventSubscriber | Array<EventSubscriber>>): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
subscribers |
Array<EventSubscriber | Array<EventSubscriber>> |
interested in events of specified topics. |
void