mol_plot_all 1.2.610 → 1.2.612

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.mjs CHANGED
@@ -290,6 +290,9 @@ var $;
290
290
  }
291
291
  fresh() { }
292
292
  complete() { }
293
+ get incompleted() {
294
+ return false;
295
+ }
293
296
  emit(quant = $mol_wire_cursor.stale) {
294
297
  for (let i = this.sub_from; i < this.data.length; i += 2) {
295
298
  ;
@@ -541,6 +544,11 @@ var $;
541
544
  complete() { }
542
545
  complete_pubs() {
543
546
  const limit = this.cursor < 0 ? this.sub_from : this.cursor;
547
+ for (let cursor = this.pub_from; cursor < limit; cursor += 2) {
548
+ const pub = this.data[cursor];
549
+ if (pub?.incompleted)
550
+ return;
551
+ }
544
552
  for (let cursor = this.pub_from; cursor < limit; cursor += 2) {
545
553
  const pub = this.data[cursor];
546
554
  pub?.complete();
@@ -666,6 +674,9 @@ var $;
666
674
  return;
667
675
  return this.cache;
668
676
  }
677
+ get incompleted() {
678
+ return $mol_promise_like(this.cache);
679
+ }
669
680
  field() {
670
681
  return this.task.name + '()';
671
682
  }