From Bright Pattern Documentation
• 5.19
onLogout
This handler will be invoked when an agent logs out of the Agent Desktop application.
Request
Syntax
on('ON_LOGOUT', handler: OnLogoutHandler): void
|
Parameters
(None)
Example
function logoutCallback(data: LoginStateData) {
console.log("User has been logged out!");
}
adApi.on("ON_LOGOUT", logoutCallback);
Return Value
(None)