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(core): split opcall into sync/async #12312

Merged
merged 2 commits into from
Oct 4, 2021

Conversation

AaronO
Copy link
Contributor

@AaronO AaronO commented Oct 4, 2021

Cleaner separation of concerns and easier to reason about, simplifies some upcoming changes (e.g: rust-side promise ring)

Also somewhat improves robustness and prevents users from calling async ops with core.opSync() and vice-versa

Cleaner separation of concerns and easier to reason about
@AaronO AaronO requested review from bartlomieju and lucacasonato and removed request for bartlomieju October 4, 2021 09:28
core/bindings.rs Outdated Show resolved Hide resolved
core/bindings.rs Show resolved Hide resolved
Co-authored-by: Luca Casonato <[email protected]>
@AaronO AaronO merged commit ea7a63c into denoland:main Oct 4, 2021
@AaronO AaronO deleted the refactor/core-split-opcall-sync-async branch October 4, 2021 10:34
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.

3 participants