-
Notifications
You must be signed in to change notification settings - Fork 0
Client.off()
paige edited this page Feb 13, 2024
·
9 revisions
removes a listener to a given event(s) |
|
|
JS |
function callback(ctx) {
console.log(ctx);
}
client.on("send", callback); // adds the listener
client.off("send", callback); // removes the listener |