Skip to content

Commit 8bb3507

Browse files
Export algorithm to create a ReadableStream from an async sequence
1 parent 7511a41 commit 8bb3507

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

index.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6967,6 +6967,13 @@ to grow organically as needed.
69676967
[=ReadableStream/set up with byte reading support=] operations directly on the [=this=] value inside
69686968
their constructor steps.
69696969

6970+
<div algorithm="create a ReadableStream from an async sequence">
6971+
To <dfn export lt="create from async sequence|create from an async sequence" for="ReadableStream">create</dfn>
6972+
a {{ReadableStream}} from an [=async sequence=] |sequence|:
6973+
6974+
1. Return ? [$ReadableStreamFromIterable$](|sequence|).
6975+
</div>
6976+
69706977
<hr>
69716978

69726979
The following algorithms must only be used on {{ReadableStream}} instances initialized via the above

0 commit comments

Comments
 (0)