- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 28 Mar 2017 04:45:42 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 28 March 2017 11:46:15 UTC
domenic commented on this pull request.
> });
+
+ function closeWS(code, reasonString) {
+ return new Promise((resolve, reject) => {
+ ws.onclose = e => {
OK, but I believe it will fail it cleanly, right? Non-cleanly is reserved for cases where the server just goes offline or something, I thought?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/713#discussion_r108398804
Received on Tuesday, 28 March 2017 11:46:15 UTC