Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notes on receiver-side stream availability #619

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -994,11 +994,17 @@ these steps.
: <dfn for="WebTransport" attribute>incomingBidirectionalStreams</dfn>
:: Returns a {{ReadableStream}} of {{WebTransportBidirectionalStream}}s that have been
received from the server.

Note: whether the incoming streams already have data on them will depend on server behavior.
wilaw marked this conversation as resolved.
Show resolved Hide resolved

The getter steps for the `incomingBidirectionalStreams` attribute SHALL be:
1. Return [=this=]'s {{[[IncomingBidirectionalStreams]]}}.
: <dfn for="WebTransport" attribute>incomingUnidirectionalStreams</dfn>
:: A {{ReadableStream}} of unidirectional streams, each represented by a
{{WebTransportReceiveStream}}, that have been received from the server.

Note: whether the incoming streams already have data on them will depend on server behavior.
wilaw marked this conversation as resolved.
Show resolved Hide resolved

The getter steps for `incomingUnidirectionalStreams` are:
1. Return [=this=].{{[[IncomingUnidirectionalStreams]]}}.

Expand Down Expand Up @@ -1110,6 +1116,8 @@ the application will receive the number of streams it anticipates.
stream. Note that the mere creation of a stream is not immediately visible to the peer until
it is used to send data.

Note: there is no expectation that the server will be aware of the stream until data is sent on it.
wilaw marked this conversation as resolved.
Show resolved Hide resolved

When `createBidirectionalStream` is called, the user agent MUST run the
following steps:

Expand Down Expand Up @@ -1148,6 +1156,8 @@ the application will receive the number of streams it anticipates.
that the mere creation of a stream is not immediately visible to the server until it is used
to send data.

Note: there is no expectation that the server will be aware of the stream until data is sent on it.
wilaw marked this conversation as resolved.
Show resolved Hide resolved

When `createUnidirectionalStream()` method is called, the user agent MUST
run the following steps:
1. Let |transport| be [=this=].
Expand Down
Loading