Skip to content

basalt / notifications/src / InAppChannel

Class: InAppChannel ​

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

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

Implements ​

Constructors ​

Constructor ​

> new InAppChannel(store): InAppChannel

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

Parameters ​

store ​

InAppStore

Returns ​

InAppChannel

Properties ​

name ​

> readonly name: "inApp" = 'inApp'

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

Implementation of ​

NotificationChannel.name

Methods ​

send() ​

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

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

Parameters ​

recipient ​

Notifiable

message ​

unknown

info ​
notification ​

string

Returns ​

Promise<void>

Implementation of ​

NotificationChannel.send

Released under the MIT License.