Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3edd628 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin committed Dec 13, 2024
1 parent 9d1ed20 commit 1d8c5a2
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 20 deletions.
2 changes: 1 addition & 1 deletion node.deps.json

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions node.js
Original file line number Diff line number Diff line change
Expand Up @@ -792,12 +792,13 @@ var $;
break;
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
const put = (res) => {
if (this.cache === result)
this.put(res);
return res;
};
result = result.then(put, put);
result = Object.assign(result.then(put, put), { destructor: result.destructor });
}
}
catch (error) {
Expand All @@ -808,10 +809,11 @@ var $;
result = new Error(String(error), { cause: error });
}
if ($mol_promise_like(result) && !handled.has(result)) {
result = result.finally(() => {
handled.add(result);
result = Object.assign(result.finally(() => {
if (this.cache === result)
this.absorb();
});
}), { destructor: result.destructor });
}
}
if ($mol_promise_like(result) && !handled.has(result)) {
Expand Down
2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -792,12 +792,13 @@ var $;
break;
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
const put = (res) => {
if (this.cache === result)
this.put(res);
return res;
};
result = result.then(put, put);
result = Object.assign(result.then(put, put), { destructor: result.destructor });
}
}
catch (error) {
Expand All @@ -808,10 +809,11 @@ var $;
result = new Error(String(error), { cause: error });
}
if ($mol_promise_like(result) && !handled.has(result)) {
result = result.finally(() => {
handled.add(result);
result = Object.assign(result.finally(() => {
if (this.cache === result)
this.absorb();
});
}), { destructor: result.destructor });
}
}
if ($mol_promise_like(result) && !handled.has(result)) {
Expand Down
8 changes: 5 additions & 3 deletions node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,12 +783,13 @@ var $;
break;
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
const put = (res) => {
if (this.cache === result)
this.put(res);
return res;
};
result = result.then(put, put);
result = Object.assign(result.then(put, put), { destructor: result.destructor });
}
}
catch (error) {
Expand All @@ -799,10 +800,11 @@ var $;
result = new Error(String(error), { cause: error });
}
if ($mol_promise_like(result) && !handled.has(result)) {
result = result.finally(() => {
handled.add(result);
result = Object.assign(result.finally(() => {
if (this.cache === result)
this.absorb();
});
}), { destructor: result.destructor });
}
}
if ($mol_promise_like(result) && !handled.has(result)) {
Expand Down
2 changes: 1 addition & 1 deletion node.test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web.deps.json

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions web.js
Original file line number Diff line number Diff line change
Expand Up @@ -777,12 +777,13 @@ var $;
break;
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
const put = (res) => {
if (this.cache === result)
this.put(res);
return res;
};
result = result.then(put, put);
result = Object.assign(result.then(put, put), { destructor: result.destructor });
}
}
catch (error) {
Expand All @@ -793,10 +794,11 @@ var $;
result = new Error(String(error), { cause: error });
}
if ($mol_promise_like(result) && !handled.has(result)) {
result = result.finally(() => {
handled.add(result);
result = Object.assign(result.finally(() => {
if (this.cache === result)
this.absorb();
});
}), { destructor: result.destructor });
}
}
if ($mol_promise_like(result) && !handled.has(result)) {
Expand Down
2 changes: 1 addition & 1 deletion web.js.map

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions web.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -777,12 +777,13 @@ var $;
break;
}
if ($mol_promise_like(result) && !handled.has(result)) {
handled.add(result);
const put = (res) => {
if (this.cache === result)
this.put(res);
return res;
};
result = result.then(put, put);
result = Object.assign(result.then(put, put), { destructor: result.destructor });
}
}
catch (error) {
Expand All @@ -793,10 +794,11 @@ var $;
result = new Error(String(error), { cause: error });
}
if ($mol_promise_like(result) && !handled.has(result)) {
result = result.finally(() => {
handled.add(result);
result = Object.assign(result.finally(() => {
if (this.cache === result)
this.absorb();
});
}), { destructor: result.destructor });
}
}
if ($mol_promise_like(result) && !handled.has(result)) {
Expand Down

0 comments on commit 1d8c5a2

Please sign in to comment.