Skip to main content
Version: Next

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

Parameter

Type

Description

params

EventParams

parameters for the to be received event.

**Returns:**

Promise<void>