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.test.js CHANGED
@@ -282,6 +282,9 @@ var $;
282
282
  }
283
283
  fresh() { }
284
284
  complete() { }
285
+ get incompleted() {
286
+ return false;
287
+ }
285
288
  emit(quant = $mol_wire_cursor.stale) {
286
289
  for (let i = this.sub_from; i < this.data.length; i += 2) {
287
290
  ;
@@ -533,6 +536,11 @@ var $;
533
536
  complete() { }
534
537
  complete_pubs() {
535
538
  const limit = this.cursor < 0 ? this.sub_from : this.cursor;
539
+ for (let cursor = this.pub_from; cursor < limit; cursor += 2) {
540
+ const pub = this.data[cursor];
541
+ if (pub?.incompleted)
542
+ return;
543
+ }
536
544
  for (let cursor = this.pub_from; cursor < limit; cursor += 2) {
537
545
  const pub = this.data[cursor];
538
546
  pub?.complete();
@@ -658,6 +666,9 @@ var $;
658
666
  return;
659
667
  return this.cache;
660
668
  }
669
+ get incompleted() {
670
+ return $mol_promise_like(this.cache);
671
+ }
661
672
  field() {
662
673
  return this.task.name + '()';
663
674
  }