Readonly
[initProtected
aclProtected
dbProtected
keyProtected
loggerProtected
messageProtected
nodeProtected
nodeProtected
notificationProtected
notificationsProtected
notificationsProtected
notificationsMessages stores NotificationId -> string (message)
Linearly searches for a GestaltInvite notification from the supplied NodeId. Returns the notification if found.
Optional
tran: DBTransactionProtected
getProtected
getProtected
getProtected
readRead a notification
Optional
number?: number | "all"Optional
order?: "newest" | "oldest"Optional
tran?: DBTransactionOptional
unread?: booleanReceive a notification
Optional
tran: DBTransactionProtected
removeSend a notification to another node
The data
parameter must match one of the NotificationData types outlined in ./types
Static
createOptional
fresh?: booleanOptional
logger?: LoggerOptional
messageGenerated using TypeDoc
Top level stores MESSAGE_COUNT_KEY -> number (of messages)