07.03.2023, 10:57
Same arguments as for grp.listen:
Code:
function removelistenerfn(addr, fn) {
var id = Scada.encodeGroupAddress(addr);
var listeners = objectStore.listeners[ id ] || [];
$.each(listeners, function(index, listener) {
if (listener.fn == fn) {
listeners.splice(index, 1);
}
});
}