Functiondojox.cometd.unsubscribe

dojo.require("dojox.cometd._base");
defined in dojox/cometd/_base.js

inform the server of this client's disinterest in channel

Usage

function (/*String*/ channel, /*Object?*/ objOrFunc, /*String?*/ funcName, /*Object?*/ props) (view source)
parametertypedescription
channelStringIf null then all subscribers to the channel are unsubscribed.
objOrFuncObjectOptional. an object scope for funcName or the name or reference to a function to be called when messages are delivered to the
funcNameStringOptional. the second half of the objOrFunc/funcName pair for identifying a callback function to notifiy upon channel message delivery
propsObjectOptional.