x/oak/util.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
function readableStreamFromAsyncIterable
import { readableStreamFromAsyncIterable } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/util.ts?s=readableStreamFromAsyncIterable";

Create a ReadableStream<Uint8Array> from an AsyncIterable.

Parameters

source: AsyncIterable<unknown>[src]

Returns

ReadableStream<Uint8Array>[src]