Skip to content

Commit

Permalink
Update index.mdx to use the module syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb authored Oct 14, 2024
1 parent eb9d463 commit a49b69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/workers/runtime-apis/streams/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The [Streams API](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API)

<DirectoryListing />

Workers do not need to prepare an entire response body before delivering it to `event.respondWith()`. You can use [`TransformStream`](/workers/runtime-apis/streams/transformstream/) to stream a response body after sending the front matter (that is, HTTP status line and headers). This allows you to minimize:
Workers do not need to prepare an entire response body before returning a `Response`. You can use [`TransformStream`](/workers/runtime-apis/streams/transformstream/) to stream a response body after sending the front matter (that is, HTTP status line and headers). This allows you to minimize:

* The visitor’s time-to-first-byte.
* The buffering done in the Worker.
Expand Down

0 comments on commit a49b69f

Please sign in to comment.