()
| 2059 | } |
| 2060 | |
| 2061 | function pull1Algorithm() { |
| 2062 | if (reading) { |
| 2063 | readAgainForBranch1 = true; |
| 2064 | return PromiseResolve(); |
| 2065 | } |
| 2066 | reading = true; |
| 2067 | |
| 2068 | const byobRequest = branch1[kState].controller.byobRequest; |
| 2069 | if (byobRequest === null) { |
| 2070 | pullWithDefaultReader(); |
| 2071 | } else { |
| 2072 | pullWithBYOBReader(byobRequest[kState].view, false); |
| 2073 | } |
| 2074 | return PromiseResolve(); |
| 2075 | } |
| 2076 | |
| 2077 | function pull2Algorithm() { |
| 2078 | if (reading) { |
no test coverage detected