You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I can tell Deno.spawn() and Deno.spawnChild().output() do the same thing. Should Deno.spawn() be dropped and Deno.spawnChild() be renamed to Deno.spawn()? Deno standard library can define convenience APIs where desired but it seems odd to me to have 2 simple ways to do the same thing. Am I missing something?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
From what I can tell
Deno.spawn()
andDeno.spawnChild().output()
do the same thing. ShouldDeno.spawn()
be dropped andDeno.spawnChild()
be renamed toDeno.spawn()
? Deno standard library can define convenience APIs where desired but it seems odd to me to have 2 simple ways to do the same thing. Am I missing something?Beta Was this translation helpful? Give feedback.
All reactions