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

refactor(ext/node): make initialization functions sync #18282

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

bartlomieju
Copy link
Member

These functions don't need to be async, as they are only calling
synchronous JavaScript code. As a follow up, all 3 functions
should be merge together - this will reduce roundtrips for
calling V8 from Rust, which is somewhat expensive

@bartlomieju bartlomieju enabled auto-merge (squash) March 19, 2023 23:45
@bartlomieju bartlomieju merged commit aba5329 into denoland:main Mar 20, 2023
@bartlomieju bartlomieju deleted the ext_node_make_fns_sync branch March 20, 2023 07:57
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.

None yet

2 participants