Skip to content

basalt / notifications/src / NotificationChannel

Interface: NotificationChannel ​

Defined in: notifications/src/channels.ts:7

Channel driver contract — sms/push/whatsapp arrive as implementations of this.

Properties ​

name ​

> readonly name: string

Defined in: notifications/src/channels.ts:8

Methods ​

send() ​

> send(recipient, message, info): Promise<void>

Defined in: notifications/src/channels.ts:9

Parameters ​

recipient ​

Notifiable

message ​

unknown

info ​
notification ​

string

Returns ​

Promise<void>

Released under the MIT License.