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

Add sync varient of the api #27

Open
sigmaSd opened this issue Apr 22, 2022 · 1 comment
Open

Add sync varient of the api #27

sigmaSd opened this issue Apr 22, 2022 · 1 comment

Comments

@sigmaSd
Copy link
Contributor

sigmaSd commented Apr 22, 2022

Currently the api is verbose to use because you have to await each call, this is especially noticeable if you use dzx repl.

The latest deno version introduced a synchronous process spawning api which can be used to add this feature https://deno.com/blog/v1.21#synchronous-subprocess-execution

And in my opinion making it the default interface is ver y reasonable

@c4spar
Copy link
Owner

c4spar commented Apr 27, 2022

Yep makes sence. I was waiting for the new api to replace the old with the new one.

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

No branches or pull requests

2 participants