deno-dzx icon indicating copy to clipboard operation
deno-dzx copied to clipboard

Add sync varient of the api

Open sigmaSd opened this issue 2 years ago • 1 comments

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

sigmaSd avatar Apr 22 '22 03:04 sigmaSd

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

c4spar avatar Apr 27 '22 18:04 c4spar