@mxraven/mail - v0.6.0
    Preparing search index...

    Type Alias NotificationHandler

    NotificationHandler: (
        event: NotificationEvent,
        context: NotificationContext,
    ) => NotificationHandlerResult | Promise<NotificationHandlerResult>

    Processes one notification event.

    Returning normally acknowledges the event. Throwing leaves it unacknowledged so the server redelivers it with exponential backoff, capped at 30 seconds. Returning stopConsuming acknowledges the event and stops consumption.

    Type Declaration