()
| 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) |