Module

x/oak/utils/streams.ts>readableStreamFromAsyncIterable

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

Create a ReadableStream<Uint8Array> from an AsyncIterable.

Parameters

source: AsyncIterable<unknown>

Returns

ReadableStream<Uint8Array>