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

Method _resubscribe

codebase/dhtmlxscheduler.es.js:664–668  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

662 return a || (s = this._events[i] = []), s.push({ id: n, handler: t }), a || this._mode != 3 || this._socket.send(JSON.stringify({ action: "subscribe", name: i })), { name: i, id: n };
663 }
664 _resubscribe() {
665 if (this._mode == 3)
666 for (const i in this._events)
667 this._socket.send(JSON.stringify({ action: "subscribe", name: i }));
668 }
669 detach(i) {
670 if (!i) {
671 if (this._mode == 3)

Callers 1

connectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected