mol_plot_all 1.2.610 → 1.2.611

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/web.mjs CHANGED
@@ -275,6 +275,9 @@ var $;
275
275
  }
276
276
  fresh() { }
277
277
  complete() { }
278
+ get incompleted() {
279
+ return false;
280
+ }
278
281
  emit(quant = $mol_wire_cursor.stale) {
279
282
  for (let i = this.sub_from; i < this.data.length; i += 2) {
280
283
  ;
@@ -526,6 +529,11 @@ var $;
526
529
  complete() { }
527
530
  complete_pubs() {
528
531
  const limit = this.cursor < 0 ? this.sub_from : this.cursor;
532
+ for (let cursor = this.pub_from; cursor < limit; cursor += 2) {
533
+ const pub = this.data[cursor];
534
+ if (pub?.incompleted)
535
+ return;
536
+ }
529
537
  for (let cursor = this.pub_from; cursor < limit; cursor += 2) {
530
538
  const pub = this.data[cursor];
531
539
  pub?.complete();
@@ -657,6 +665,9 @@ var $;
657
665
  return;
658
666
  return this.cache;
659
667
  }
668
+ get incompleted() {
669
+ return $mol_promise_like(this.cache);
670
+ }
660
671
  field() {
661
672
  return this.task.name + '()';
662
673
  }