Module

x/hono/helper/streaming/index.ts>streamText

Web Framework built on Web Standards
Extremely Popular
Go to Latest
variable streamText
import { streamText } from "https://dotland.deno.dev/x/hono@v4.2.6/helper/streaming/index.ts";

type

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