Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup deprecated jsg/promise methods #2048

Merged
merged 3 commits into from
Apr 24, 2024

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Apr 23, 2024

Remove last few uses of the deprecated jsg/promise method variants that do not take a jsg::Lock as the first param.

Just some drive by general cleanup while investigating some other issues.

@jasnell jasnell requested review from a team as code owners April 23, 2024 19:33
@jasnell jasnell changed the title Use the non-deprecated forms of resolve/reject in streams/queue Cleanup deprecated jsg/promise methods Apr 23, 2024
Copy link
Collaborator

@fhanau fhanau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

The method variations that do not take a jsg::Lock& as an arg have
been deprecated for a while now. Time to remove them to tidy things up.
@jasnell jasnell force-pushed the jsnell/remove-deprecated-jsg-promise-methods branch from 27e6d80 to 036bbc7 Compare April 23, 2024 23:49
@jasnell jasnell merged commit ce1f7c3 into main Apr 24, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants