Function
stream
(
body: Stream_.Stream<Uint8Array, unknown>,
contentType?: string | undefined,
contentLength?: number | undefined
)
Source from the content-addressed store, hash-verified
| 232 | |
| 233 | /** @internal */ |
| 234 | export const stream = ( |
| 235 | body: Stream_.Stream<Uint8Array, unknown>, |
| 236 | contentType?: string | undefined, |
| 237 | contentLength?: number | undefined |
| 238 | ): Body.Stream => new StreamImpl(body, contentType ?? "application/octet-stream", contentLength) |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…