node
node copied to clipboard
[v22.x backport] worker: make Worker async disposable
Backport of https://github.com/nodejs/node/pull/58385
Maybe it is quite irrelevant, but this backport diverges a bit from the original PR (one extra commit) and each commit is missing its metadata (trailing, same as the original PR).
This was a manual commit put together before the other one landed. Will update it with the metadata later.
i'm not planning on back porting both of the original commits since one is only relevant for 24.x. This one commit combines the base change along the 22.x version of the test that landed in the original.
CI: https://ci.nodejs.org/job/node-test-pull-request/67390/
CI: https://ci.nodejs.org/job/node-test-pull-request/67462/
CI: https://ci.nodejs.org/job/node-test-pull-request/68065/
CI: https://ci.nodejs.org/job/node-test-pull-request/68089/
CI: https://ci.nodejs.org/job/node-test-pull-request/68123/
CI: https://ci.nodejs.org/job/node-test-pull-request/68175/
CI: https://ci.nodejs.org/job/node-test-pull-request/68181/
CI: https://ci.nodejs.org/job/node-test-pull-request/68245/
CI: https://ci.nodejs.org/job/node-test-pull-request/68249/
CI: https://ci.nodejs.org/job/node-test-pull-request/68258/
CI: https://ci.nodejs.org/job/node-test-pull-request/68263/
Landed in 690525881e8d...66fccc252b44