mol_wire_lib 1.0.1352 → 1.0.1354
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.js +4 -4
- package/node.js.map +1 -1
- package/node.mjs +4 -4
- package/node.test.js +4 -4
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +4 -4
- package/web.js.map +1 -1
- package/web.mjs +4 -4
package/web.mjs
CHANGED
|
@@ -665,7 +665,7 @@ var $;
|
|
|
665
665
|
return $mol_promise_like(this.cache);
|
|
666
666
|
}
|
|
667
667
|
field() {
|
|
668
|
-
return this.task.name + '
|
|
668
|
+
return this.task.name + '()';
|
|
669
669
|
}
|
|
670
670
|
constructor(id, task, host, args) {
|
|
671
671
|
super();
|
|
@@ -1301,18 +1301,18 @@ var $;
|
|
|
1301
1301
|
(function ($) {
|
|
1302
1302
|
class $mol_wire_atom extends $mol_wire_fiber {
|
|
1303
1303
|
static solo(host, task) {
|
|
1304
|
-
const field = task.name + '
|
|
1304
|
+
const field = task.name + '()';
|
|
1305
1305
|
const existen = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1306
1306
|
if (existen)
|
|
1307
1307
|
return existen;
|
|
1308
1308
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1309
|
-
const key = prefix + ('.' +
|
|
1309
|
+
const key = prefix + ('.' + task.name + '<>');
|
|
1310
1310
|
const fiber = new $mol_wire_atom(key, task, host, []);
|
|
1311
1311
|
(host ?? task)[field] = fiber;
|
|
1312
1312
|
return fiber;
|
|
1313
1313
|
}
|
|
1314
1314
|
static plex(host, task, key) {
|
|
1315
|
-
const field = task.name + '
|
|
1315
|
+
const field = task.name + '()';
|
|
1316
1316
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1317
1317
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1318
1318
|
const key_str = $mol_key(key);
|