Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/helper/streaming/stream.ts>stream

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
variable stream
import { stream } from "https://deno.land/x/hono@v4.1.3/helper/streaming/stream.ts";

type

(
cb: (stream: StreamingApi) => Promise<void>,
onError?: (e: Error, stream: StreamingApi) => Promise<void>,
) => Response