Skip to content
On this page

AthenaClient.systems.notification ​

Type Aliases ​

NotificationCallback ​

Ƭ NotificationCallback: (message: string, ...args: any[]) => void | Function

Defined in ​

client/systems/notification.ts:5

Functions ​

addCallback ​

Usage

AthenaClient.systems.notification.addCallback(callback): void

Call a function back when a notification is received.

Good for overwriting the default notification system and handling it on your own.

Parameters ​

NameType
callbackNotificationCallback

Returns ​

void

Defined in ​

client/systems/notification.ts:42


disableDefault ​

Usage

AthenaClient.systems.notification.disableDefault(): void

Disable the default notification handler

Returns ​

void

Defined in ​

client/systems/notification.ts:30

Created by Stuyk | Est. 2020