@nxtedition/deepstream.io-client-js 24.0.4 → 24.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/record/record-handler.js +0 -10
- package/src/record/record.js +0 -2
package/package.json
CHANGED
|
@@ -62,7 +62,6 @@ class RecordHandler {
|
|
|
62
62
|
this._client = client
|
|
63
63
|
this._records = new Map()
|
|
64
64
|
this._listeners = new Map()
|
|
65
|
-
this._pending = new Map()
|
|
66
65
|
this._pruning = new Set()
|
|
67
66
|
|
|
68
67
|
this._connected = 0
|
|
@@ -129,15 +128,6 @@ class RecordHandler {
|
|
|
129
128
|
} else {
|
|
130
129
|
this._stats.pending -= 1
|
|
131
130
|
}
|
|
132
|
-
|
|
133
|
-
if (value) {
|
|
134
|
-
this._pending.set(rec, [])
|
|
135
|
-
} else {
|
|
136
|
-
for (const callback of this._pending.get(rec)) {
|
|
137
|
-
callback()
|
|
138
|
-
}
|
|
139
|
-
this._pending.delete(rec)
|
|
140
|
-
}
|
|
141
131
|
}
|
|
142
132
|
|
|
143
133
|
_onUpdating(rec, value) {
|