NotifyResult interface

The result of a notification being made by a widget configuration.

Methods

getResponse()

Gets a response from the subscriber of the notification, if they provide one as part of the schema for the event.

Method Details

getResponse()

Gets a response from the subscriber of the notification, if they provide one as part of the schema for the event.

function getResponse(): Promise<string>

Returns

Promise<string>

A promise with the data representing the return payload serialized as a string.