removeCallback

This method removes a callback previously added.

Example

function myFunc() {
    ...
}

// add callback
dashly.addCallback('conversation_started', myFunc);

// remove callback
dashly.removeCallback('conversation_started', myFunc);

Arguments

Argument Description
topic Required. Topic you are subscribing to
callback Required. Function you are subscribing