mol_wire_lib 1.0.1058 → 1.0.1060
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 +5 -15
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +9 -33
- package/node.js.map +1 -1
- package/node.mjs +9 -33
- package/node.test.js +10 -43
- package/node.test.js.map +1 -1
- package/package.json +2 -3
- package/web.d.ts +5 -15
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +9 -33
- package/web.js.map +1 -1
- package/web.mjs +9 -33
- package/web.test.js +1 -10
- package/web.test.js.map +1 -1
package/node.mjs
CHANGED
|
@@ -575,24 +575,21 @@ var $;
|
|
|
575
575
|
"use strict";
|
|
576
576
|
var $;
|
|
577
577
|
(function ($) {
|
|
578
|
-
class $
|
|
578
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
579
|
+
delay;
|
|
579
580
|
task;
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
constructor(task) {
|
|
581
|
+
id;
|
|
582
|
+
constructor(delay, task) {
|
|
583
583
|
super();
|
|
584
|
+
this.delay = delay;
|
|
584
585
|
this.task = task;
|
|
585
|
-
this.
|
|
586
|
-
if (this.cancelled)
|
|
587
|
-
return;
|
|
588
|
-
task();
|
|
589
|
-
});
|
|
586
|
+
this.id = setTimeout(task, delay);
|
|
590
587
|
}
|
|
591
588
|
destructor() {
|
|
592
|
-
this.
|
|
589
|
+
clearTimeout(this.id);
|
|
593
590
|
}
|
|
594
591
|
}
|
|
595
|
-
$.$
|
|
592
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
596
593
|
})($ || ($ = {}));
|
|
597
594
|
|
|
598
595
|
;
|
|
@@ -620,7 +617,7 @@ var $;
|
|
|
620
617
|
static plan() {
|
|
621
618
|
if (this.plan_task)
|
|
622
619
|
return;
|
|
623
|
-
this.plan_task = new $
|
|
620
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
624
621
|
try {
|
|
625
622
|
this.sync();
|
|
626
623
|
}
|
|
@@ -1611,27 +1608,6 @@ var $;
|
|
|
1611
1608
|
$.$mol_key = $mol_key;
|
|
1612
1609
|
})($ || ($ = {}));
|
|
1613
1610
|
|
|
1614
|
-
;
|
|
1615
|
-
"use strict";
|
|
1616
|
-
var $;
|
|
1617
|
-
(function ($) {
|
|
1618
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
1619
|
-
delay;
|
|
1620
|
-
task;
|
|
1621
|
-
id;
|
|
1622
|
-
constructor(delay, task) {
|
|
1623
|
-
super();
|
|
1624
|
-
this.delay = delay;
|
|
1625
|
-
this.task = task;
|
|
1626
|
-
this.id = setTimeout(task, delay);
|
|
1627
|
-
}
|
|
1628
|
-
destructor() {
|
|
1629
|
-
clearTimeout(this.id);
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
1633
|
-
})($ || ($ = {}));
|
|
1634
|
-
|
|
1635
1611
|
;
|
|
1636
1612
|
"use strict";
|
|
1637
1613
|
var $;
|
package/node.test.js
CHANGED
|
@@ -566,24 +566,21 @@ var $;
|
|
|
566
566
|
"use strict";
|
|
567
567
|
var $;
|
|
568
568
|
(function ($) {
|
|
569
|
-
class $
|
|
569
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
570
|
+
delay;
|
|
570
571
|
task;
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
constructor(task) {
|
|
572
|
+
id;
|
|
573
|
+
constructor(delay, task) {
|
|
574
574
|
super();
|
|
575
|
+
this.delay = delay;
|
|
575
576
|
this.task = task;
|
|
576
|
-
this.
|
|
577
|
-
if (this.cancelled)
|
|
578
|
-
return;
|
|
579
|
-
task();
|
|
580
|
-
});
|
|
577
|
+
this.id = setTimeout(task, delay);
|
|
581
578
|
}
|
|
582
579
|
destructor() {
|
|
583
|
-
this.
|
|
580
|
+
clearTimeout(this.id);
|
|
584
581
|
}
|
|
585
582
|
}
|
|
586
|
-
$.$
|
|
583
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
587
584
|
})($ || ($ = {}));
|
|
588
585
|
|
|
589
586
|
;
|
|
@@ -611,7 +608,7 @@ var $;
|
|
|
611
608
|
static plan() {
|
|
612
609
|
if (this.plan_task)
|
|
613
610
|
return;
|
|
614
|
-
this.plan_task = new $
|
|
611
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
615
612
|
try {
|
|
616
613
|
this.sync();
|
|
617
614
|
}
|
|
@@ -1602,27 +1599,6 @@ var $;
|
|
|
1602
1599
|
$.$mol_key = $mol_key;
|
|
1603
1600
|
})($ || ($ = {}));
|
|
1604
1601
|
|
|
1605
|
-
;
|
|
1606
|
-
"use strict";
|
|
1607
|
-
var $;
|
|
1608
|
-
(function ($) {
|
|
1609
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
1610
|
-
delay;
|
|
1611
|
-
task;
|
|
1612
|
-
id;
|
|
1613
|
-
constructor(delay, task) {
|
|
1614
|
-
super();
|
|
1615
|
-
this.delay = delay;
|
|
1616
|
-
this.task = task;
|
|
1617
|
-
this.id = setTimeout(task, delay);
|
|
1618
|
-
}
|
|
1619
|
-
destructor() {
|
|
1620
|
-
clearTimeout(this.id);
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
1624
|
-
})($ || ($ = {}));
|
|
1625
|
-
|
|
1626
1602
|
;
|
|
1627
1603
|
"use strict";
|
|
1628
1604
|
var $;
|
|
@@ -3858,7 +3834,7 @@ var $;
|
|
|
3858
3834
|
var $;
|
|
3859
3835
|
(function ($_1) {
|
|
3860
3836
|
$mol_test_mocks.push($ => {
|
|
3861
|
-
$.$
|
|
3837
|
+
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
3862
3838
|
});
|
|
3863
3839
|
})($ || ($ = {}));
|
|
3864
3840
|
|
|
@@ -4005,15 +3981,6 @@ var $;
|
|
|
4005
3981
|
});
|
|
4006
3982
|
})($ || ($ = {}));
|
|
4007
3983
|
|
|
4008
|
-
;
|
|
4009
|
-
"use strict";
|
|
4010
|
-
var $;
|
|
4011
|
-
(function ($_1) {
|
|
4012
|
-
$mol_test_mocks.push($ => {
|
|
4013
|
-
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
4014
|
-
});
|
|
4015
|
-
})($ || ($ = {}));
|
|
4016
|
-
|
|
4017
3984
|
;
|
|
4018
3985
|
"use strict";
|
|
4019
3986
|
var $;
|