@nxtedition/deepstream.io-client-js 24.0.14 → 24.0.15
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
CHANGED
|
@@ -226,11 +226,14 @@ class RecordHandler {
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
async sync(
|
|
229
|
+
async sync(opts) {
|
|
230
230
|
// TODO (fix): Sync pending? What about VOID state?
|
|
231
231
|
|
|
232
232
|
let onAbort
|
|
233
233
|
|
|
234
|
+
const signal = opts?.signal
|
|
235
|
+
const timeout = opts?.timeout
|
|
236
|
+
|
|
234
237
|
const signalPromise = signal
|
|
235
238
|
? new Promise((resolve, reject) => {
|
|
236
239
|
onAbort = () => {
|