Beignet API reference
Preparing search index...
@beignet/core
notifications
MailNotificationRenderer
Type Alias MailNotificationRenderer<Payload, Ctx>
MailNotificationRenderer
:
(
args
:
NotificationChannelHandleArgs
<
Payload
,
Ctx
>
,
)
=>
MaybePromise
<
SendMailOptions
|
undefined
>
Render a mail message for one notification payload.
Type Parameters
Payload
extends
StandardSchema
Ctx
extends
MailNotificationContext
Type Declaration
(
args
:
NotificationChannelHandleArgs
<
Payload
,
Ctx
>
,
)
:
MaybePromise
<
SendMailOptions
|
undefined
>
Parameters
args
:
NotificationChannelHandleArgs
<
Payload
,
Ctx
>
Returns
MaybePromise
<
SendMailOptions
|
undefined
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Beignet API reference
Loading...
Render a mail message for one notification payload.