hyoo_sync_client 0.0.46 → 0.0.48
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/node.d.ts +2 -0
- package/node.deps.json +1 -1
- package/node.js +11 -0
- package/node.js.map +1 -1
- package/node.mjs +11 -0
- package/node.mjs.map +1 -1
- package/node.test.js +11 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +2 -0
- package/web.deps.json +1 -1
- package/web.js +11 -0
- package/web.js.map +1 -1
- package/web.mjs +11 -0
- package/web.mjs.map +1 -1
package/web.mjs
CHANGED
|
@@ -907,6 +907,9 @@ var $;
|
|
|
907
907
|
}
|
|
908
908
|
fresh() { }
|
|
909
909
|
complete() { }
|
|
910
|
+
get incompleted() {
|
|
911
|
+
return false;
|
|
912
|
+
}
|
|
910
913
|
emit(quant = $mol_wire_cursor.stale) {
|
|
911
914
|
for (let i = this.sub_from; i < this.data.length; i += 2) {
|
|
912
915
|
;
|
|
@@ -1058,6 +1061,11 @@ var $;
|
|
|
1058
1061
|
complete() { }
|
|
1059
1062
|
complete_pubs() {
|
|
1060
1063
|
const limit = this.cursor < 0 ? this.sub_from : this.cursor;
|
|
1064
|
+
for (let cursor = this.pub_from; cursor < limit; cursor += 2) {
|
|
1065
|
+
const pub = this.data[cursor];
|
|
1066
|
+
if (pub?.incompleted)
|
|
1067
|
+
return;
|
|
1068
|
+
}
|
|
1061
1069
|
for (let cursor = this.pub_from; cursor < limit; cursor += 2) {
|
|
1062
1070
|
const pub = this.data[cursor];
|
|
1063
1071
|
pub?.complete();
|
|
@@ -1189,6 +1197,9 @@ var $;
|
|
|
1189
1197
|
return;
|
|
1190
1198
|
return this.cache;
|
|
1191
1199
|
}
|
|
1200
|
+
get incompleted() {
|
|
1201
|
+
return $mol_promise_like(this.cache);
|
|
1202
|
+
}
|
|
1192
1203
|
field() {
|
|
1193
1204
|
return this.task.name + '()';
|
|
1194
1205
|
}
|