Skip to content

[v24.x] lib: do not modify prototype deprecated asyncResource (encore)#59518

Closed
slagiewka wants to merge 1 commit intonodejs:v24.x-stagingfrom
slagiewka:deprecate_async_resource
Closed

[v24.x] lib: do not modify prototype deprecated asyncResource (encore)#59518
slagiewka wants to merge 1 commit intonodejs:v24.x-stagingfrom
slagiewka:deprecate_async_resource

Conversation

@slagiewka
Copy link
Copy Markdown

Previous attempt has missed one argument (useEmitSync), therefore it effectively did not work as intended.

This change sets useEmitSync to false which is equivalent to previous behaviour of undefined and sets modifyPrototype to false as expected.

Refs: #58218
Refs: #59195

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

async_hooks Issues and PRs related to the async hooks subsystem. needs-ci PRs that need a full CI run. v24.x Issues that can be reproduced on v24.x or PRs targeting the v24.x-staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants