x/oak/utils/streams.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
function readableStreamFromAsyncIterable
import { readableStreamFromAsyncIterable } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.2/utils/streams.ts?s=readableStreamFromAsyncIterable";

Create a ReadableStream<Uint8Array> from an AsyncIterable.

Parameters

source: AsyncIterable<unknown>[src]

Returns

ReadableStream<Uint8Array>[src]