DefaultEventBroker.(constructor)
Home > @backstage/plugin-events-backend
> DefaultEventBroker
> (constructor)
Warning: This API is now obsolete.
use
DefaultEventsService
directly instead
Constructs a new instance of the DefaultEventBroker
class
Signature:
constructor(logger: LoggerService, events?: EventsService);
Parameters
Parameter |
Type |
Description |
---|---|---|
logger |
logger | |
events |
(Optional) replacement that gets wrapped to support not yet migrated implementations. An instance can be passed (required for a mixed mode), otherwise a new instance gets created internally. |