summaryrefslogtreecommitdiff
path: root/ext/websocket/02_websocketstream.js
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-07-18 14:16:12 +0100
committerGitHub <noreply@github.com>2022-07-18 15:16:12 +0200
commit45c49034a7ea20f27287cd8559ea050d8973bfae (patch)
tree4566c3ca296f49e6bb564693f0e18e141304a3d4 /ext/websocket/02_websocketstream.js
parent0f6b455c964933692f4c82476692ab66eba242c2 (diff)
BREAKING(unstable): Improve Deno.spawn() stdio API (#14919)
- "SpawnOutput" extends "ChildStatus" instead of composing it - "SpawnOutput::stdout", "SpawnOutput::stderr", "Child::stdin", "Child::stdout" and "Child::stderr" are no longer optional, instead made them getters that throw at runtime if that stream wasn't set to "piped". - Remove the complicated "<T extends SpawnOptions = SpawnOptions>" which we currently need to give proper type hints for the availability of these fields. Their typings for these would get increasingly complex if it became dependent on more options (e.g. "SpawnOptions::pty" which if set should make the stdio streams unavailable)
Diffstat (limited to 'ext/websocket/02_websocketstream.js')
0 files changed, 0 insertions, 0 deletions