@@ -140,45 +140,60 @@ const kPull = Symbol('kPull');
140140 * @typedef {import('./queuingstrategies').QueuingStrategySize
141141 * } QueuingStrategySize
142142 * @typedef {import('./writablestream').WritableStream } WritableStream
143- *
143+ */
144+
145+ /**
144146 * @typedef {ReadableStreamDefaultController | ReadableByteStreamController
145147 * } ReadableStreamController
146- *
148+ */
149+
150+ /**
147151 * @typedef {ReadableStreamDefaultReader | ReadableStreamBYOBReader
148152 * } ReadableStreamReader
149- *
153+ */
154+
155+ /**
150156 * @callback UnderlyingSourceStartCallback
151157 * @param {ReadableStreamController } controller
152158 * @returns { any | Promise<void> }
153- *
159+ */
160+
161+ /**
154162 * @callback UnderlyingSourcePullCallback
155163 * @param {ReadableStreamController } controller
156164 * @returns { Promise<void> }
157- *
165+ */
166+
167+ /**
158168 * @callback UnderlyingSourceCancelCallback
159169 * @param {any } reason
160170 * @returns { Promise<void> }
161- *
171+ */
172+
173+ /**
162174 * @typedef {{
163175 * readable: ReadableStream,
164176 * writable: WritableStream,
165177 * }} ReadableWritablePair
166- *
178+ */
179+
180+ /**
167181 * @typedef {{
168182 * preventClose? : boolean,
169183 * preventAbort? : boolean,
170184 * preventCancel? : boolean,
171185 * signal? : AbortSignal,
172186 * }} StreamPipeOptions
173- *
187+ */
188+
189+ /**
174190 * @typedef {{
175191 * start? : UnderlyingSourceStartCallback,
176192 * pull? : UnderlyingSourcePullCallback,
177193 * cancel? : UnderlyingSourceCancelCallback,
178194 * type? : "bytes",
179195 * autoAllocateChunkSize? : number
180196 * }} UnderlyingSource
181- *
182197 */
183198
184199class ReadableStream {
0 commit comments