Skip to content

Commit

Permalink
Corrected sentence in Streams API overview (mdn#7712)
Browse files Browse the repository at this point in the history
  • Loading branch information
boom100100 authored Aug 8, 2021
1 parent f460a3b commit 49073b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/streams_api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2 id="Concepts_and_usage">Concepts and usage</h2>

<p><img alt="" src="concept.png"></p>

<p>There are more advantages too — you can detect when streams start or end, chain streams together, handle errors and cancel streams as required, and react to the speed of the stream is being read at.</p>
<p>There are more advantages too — you can detect when streams start or end, chain streams together, handle errors and cancel streams as required, and react to the speed the stream is being read at.</p>

<p>The basic usage of Streams hinges around making responses available as streams. For example, the response body returned by a successful <a href="/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch">fetch request</a> can be exposed as a {{domxref("ReadableStream")}}, and you can then read it using a reader created with {{domxref("ReadableStream.getReader()")}}, cancel it with {{domxref("ReadableStream.cancel()")}}, etc.</p>

Expand Down

0 comments on commit 49073b6

Please sign in to comment.