Skip to main content

EventSubscriber.onEvent()

Home > @backstage/plugin-events-node > EventSubscriber > onEvent

Warning: This API is now obsolete.

you are not required to expose this anymore when using EventsService

React on a received event.

Signature:

onEvent(params: EventParams): Promise<void>;

Parameters

ParameterTypeDescription
paramsEventParamsparameters for the to be received event.

Returns:

Promise<void>