(controller)
| 13318 | }); |
| 13319 | } |
| 13320 | function ReadableStreamDefaultControllerShouldCallPull(controller) { |
| 13321 | const stream4 = controller._controlledReadableStream; |
| 13322 | if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) { |
| 13323 | return false; |
| 13324 | } |
| 13325 | if (!controller._started) { |
| 13326 | return false; |
| 13327 | } |
| 13328 | if (IsReadableStreamLocked(stream4) && ReadableStreamGetNumReadRequests(stream4) > 0) { |
| 13329 | return true; |
| 13330 | } |
| 13331 | const desiredSize = ReadableStreamDefaultControllerGetDesiredSize(controller); |
| 13332 | if (desiredSize > 0) { |
| 13333 | return true; |
| 13334 | } |
| 13335 | return false; |
| 13336 | } |
| 13337 | function ReadableStreamDefaultControllerClearAlgorithms(controller) { |
| 13338 | controller._pullAlgorithm = void 0; |
| 13339 | controller._cancelAlgorithm = void 0; |
no test coverage detected
searching dependent graphs…