()
| 128 | const onFatalError = reject; |
| 129 | |
| 130 | function onAllReady() { |
| 131 | const readable: Readable = new Readable({ |
| 132 | read() { |
| 133 | startFlowing(request, writable); |
| 134 | }, |
| 135 | }); |
| 136 | const writable = createFakeWritableFromReadable(readable); |
| 137 | |
| 138 | const result: StaticResult = |
| 139 | enablePostpone || enableHalt |
| 140 | ? { |
| 141 | postponed: getPostponedState(request), |
| 142 | prelude: readable, |
| 143 | } |
| 144 | : ({ |
| 145 | prelude: readable, |
| 146 | }: any); |
| 147 | resolve(result); |
| 148 | } |
| 149 | const resumableState = createResumableState( |
| 150 | options ? options.identifierPrefix : undefined, |
| 151 | options ? options.unstable_externalRuntimeSrc : undefined, |
nothing calls this directly
no test coverage detected