XStream
Import |
Source |
Docs |
When To Use#
- Transform SSE protocol ReadableStream to Record
- Decode and read any protocol ReadableStream
Examples #
Loading...
Loading...
API#
XStreamOptions#
| Property | Description | Type | Default |
|---|---|---|---|
readableStream | Readable stream of binary data | ReadableStream<Uint8Array> | - |
transformStream | Support customizable transformStream to transform streams | TransformStream<string, T> | sseTransformStream |