mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
async_hooks: move asyncResource
property on bound function to EOL
PR-URL: https://github.com/nodejs/node/pull/58618 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
parent
2eeb65fa81
commit
308b6bc6de
3 changed files with 6 additions and 17 deletions
|
@ -25,7 +25,6 @@ const fn2 = asyncResource.bind((a, b) => {
|
|||
return executionAsyncId();
|
||||
});
|
||||
|
||||
assert.strictEqual(fn2.asyncResource, asyncResource);
|
||||
assert.strictEqual(fn2.length, 2);
|
||||
|
||||
setImmediate(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue