Skip to content

Commit

Permalink
Error the stream.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ivar committed May 12, 2021
1 parent 9d3f0f4 commit e7e5d75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,7 @@ queue a task to run the following:
from.
1. Remove |stream| from the |transport|'s [=[[OutgoingStreams]]=].
1. Let |reason| be the value from the STOP_SENDING frame from the remote side.
1. Perform ! [$WritableStreamStartErroring$](|stream|, |reason|).
1. [=Resolve=] {{SendStream}}.{{SendStream/remoteCanceled}} with a new
{{StreamAbortInfo}} with the {{StreamAbortInfo/errorCode}} set to
|reason|.
Expand Down Expand Up @@ -1038,7 +1039,7 @@ queue a task to run the following:
1. Let |transport| be the {{WebTransport}}, which the |stream| was created
from.
1. Let |reason| be the value from the message from the remote side.
1. Error |stream| with |reason| (TODO).
1. Perform ! [$ReadableStreamError$](|stream|, |reason|).

The {{ReceiveStream}}'s <dfn>cancelAlgorithm</dfn> is:
1. Let |stream| be the {{ReceiveStream}} object.
Expand Down

0 comments on commit e7e5d75

Please sign in to comment.