MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / _resubscribe

Method _resubscribe

codebase/sources/dhtmlxscheduler.js:1234–1238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1232 return n || (i = this._events[t2] = []), i.push({ id: s, handler: e }), n || 3 != this._mode || this._socket.send(JSON.stringify({ action: "subscribe", name: t2 })), { name: t2, id: s };
1233 }
1234 _resubscribe() {
1235 if (3 == this._mode)
1236 for (const t2 in this._events)
1237 this._socket.send(JSON.stringify({ action: "subscribe", name: t2 }));
1238 }
1239 detach(t2) {
1240 if (!t2) {
1241 if (3 == this._mode)

Callers 1

connectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected