(value)
| 69463 | for await (const chunk of value) { |
| 69464 | parts.push(chunk); |
| 69465 | } |
| 69466 | } else { |
| 69467 | throw new Error(`Unexpected data type: ${typeof value}; constructor: ${value?.constructor?.name}; props: ${propsForError(value)}`); |
| 69468 | } |
| 69469 | return parts; |
| 69470 | } |
| 69471 | function propsForError(value) { |
no outgoing calls
no test coverage detected
searching dependent graphs…