Module

x/hono/helper.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.3.2/helper.ts";

type

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