Kind: Function
Source: src/helper/streaming/stream.ts
Part of: Helper
Signature
tsfunction stream(c: Context, cb: (stream: StreamingApi) => Promise<void>, onError: (e: Error, stream: StreamingApi) => Promise<void>): Response
Parameters
| Name | Type |
|---|---|
c | Context |
cb | (stream: StreamingApi) => Promise<void> |
onError | (e: Error, stream: StreamingApi) => Promise<void> |
Returns: Response
Relationships
- IMPORTS →
StreamingApi - IMPORTS →
isOldBunVersion
Was this page helpful?