- From: Mattias Buelens <notifications@github.com>
- Date: Mon, 30 Aug 2021 13:25:27 +0000 (UTC)
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 30 August 2021 13:25:41 UTC
@MattiasBuelens commented on this pull request.
Looks good, just one small nit. 🙂
> + body: chunk });
+ await response.text();
+ }
+});
+const writer = ws.getWriter();
+
+writer.write('some data');
+await writer.abort();
+```
+
+This example shows a use case of this feature with WebTransport.
+
+```javascript
+const wt = new WebTransport(...);
+await wt.ready;
+const ws = await wt.createUnidirectiaonalStream();
```suggestion
const ws = await wt.createUnidirectionalStream();
```
--
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/1162#pullrequestreview-741641182
Received on Monday, 30 August 2021 13:25:41 UTC