Skip to content

basalt / notifications/src / MemoryInAppStore

Class: MemoryInAppStore ​

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

Implements ​

Constructors ​

Constructor ​

> new MemoryInAppStore(): MemoryInAppStore

Returns ​

MemoryInAppStore

Methods ​

append() ​

> append(record): Promise<void>

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

Parameters ​

record ​

InAppNotification

Returns ​

Promise<void>

Implementation of ​

InAppStore.append


list() ​

> list(recipientId, options?): Promise<InAppNotification[]>

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

Parameters ​

recipientId ​

string

options? ​
limit? ​

number

unreadOnly? ​

boolean

Returns ​

Promise<InAppNotification[]>

Implementation of ​

InAppStore.list


markRead() ​

> markRead(recipientId, id): Promise<boolean>

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

Parameters ​

recipientId ​

string

id ​

string

Returns ​

Promise<boolean>

Implementation of ​

InAppStore.markRead


unreadCount() ​

> unreadCount(recipientId): Promise<number>

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

Parameters ​

recipientId ​

string

Returns ​

Promise<number>

Implementation of ​

InAppStore.unreadCount

Released under the MIT License.