mol_wire_lib 1.0.592 → 1.0.593
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 +1 -1
- package/node.deps.json +1 -1
- package/node.js +5 -2
- package/node.js.map +1 -1
- package/node.mjs +5 -2
- package/node.mjs.map +1 -1
- package/node.test.js +5 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -1
- package/web.deps.json +1 -1
- package/web.js +5 -2
- package/web.js.map +1 -1
- package/web.mjs +5 -2
- package/web.mjs.map +1 -1
package/node.mjs
CHANGED
|
@@ -1243,11 +1243,14 @@ var $;
|
|
|
1243
1243
|
"use strict";
|
|
1244
1244
|
var $;
|
|
1245
1245
|
(function ($) {
|
|
1246
|
-
function $mol_wire_probe(task,
|
|
1246
|
+
function $mol_wire_probe(task, def) {
|
|
1247
1247
|
const warm = $mol_wire_fiber.warm;
|
|
1248
1248
|
try {
|
|
1249
1249
|
$mol_wire_fiber.warm = false;
|
|
1250
|
-
|
|
1250
|
+
const res = task();
|
|
1251
|
+
if (res === undefined)
|
|
1252
|
+
return def;
|
|
1253
|
+
return res;
|
|
1251
1254
|
}
|
|
1252
1255
|
finally {
|
|
1253
1256
|
$mol_wire_fiber.warm = warm;
|