UNPKG

hono

Version:

Web framework built on Web Standards

4 lines (3 loc) 267 B
import type { Context } from '../../context'; import type { StreamingApi } from '../../utils/stream'; export declare const streamText: (c: Context, cb: (stream: StreamingApi) => Promise<void>, onError?: (e: Error, stream: StreamingApi) => Promise<void>) => Response;