You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This abstract operation is meant to be called from other specifications that may wish to query whether or not a
@@ -997,6 +1009,7 @@ readable stream is <a>locked to a reader</a>.
997
1009
1. If _reader_@[[state]] is "errored", return a new promise rejected with _reader_@[[storedError]].
998
1010
1. Assert: _reader_@[[ownerReadableStream]] is not *undefined*.
999
1011
1. Assert: _reader_@[[ownerReadableStream]]@[[state]] is "readable".
1012
+
1. Set _reader_@[[ownerReadableStream]]@[[disturbed]] to *true*.
1000
1013
1. If _reader_@[[ownerReadableStream]]@[[queue]] is not empty,
1001
1014
1. Let _chunk_ be DequeueValue(_reader_@[[ownerReadableStream]]@[[queue]]).
1002
1015
1. If _reader_@[[ownerReadableStream]]@[[closeRequested]] is *true* and _reader_@[[ownerReadableStream]]@[[queue]] is now empty, perform FinishClosingReadableStream(_reader_@[[ownerReadableStream]]).
0 commit comments