Skip to main content
Version: Next

NotificationProcessor.processOptions()

Home > @backstage/plugin-notifications-node > NotificationProcessor > processOptions

Process the notification options.

Can be used to override the default recipient resolving, sending the notification to an external service or modify other notification options necessary.

processOptions functions are called only once for each notification before the recipient resolving, pre-process, sending and post-process of the notification.

Signature:

processOptions?(options: NotificationSendOptions): Promise<NotificationSendOptions>;

Parameters

Parameter

Type

Description

options

NotificationSendOptions

The original options to send the notification

**Returns:**

Promise<NotificationSendOptions>