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 ​
Name | Type |
---|---|
callback | NotificationCallback |
Returns ​
void
Defined in ​
client/systems/notification.ts:42
disableDefault ​
Usage
AthenaClient.systems.notification.disableDefault(): void
Disable the default notification handler
Returns ​
void