mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 15:24:10 +08:00
docs: update links for streaming decode APIs in README
This commit is contained in:
@@ -141,7 +141,7 @@ for await (const chunk of modelStream) {
|
|||||||
const data = decodeFromLines(lines)
|
const data = decodeFromLines(lines)
|
||||||
```
|
```
|
||||||
|
|
||||||
For streaming decode APIs, see [`decodeFromLines()`](/reference/api#decodeFromLines-lines-options) and [`decodeStream()`](/reference/api#decodeStream-source-options).
|
For streaming decode APIs, see [`decodeFromLines()`](/reference/api#decodefromlines-lines-options) and [`decodeStream()`](/reference/api#decodestream-source-options).
|
||||||
|
|
||||||
## Tips and Pitfalls
|
## Tips and Pitfalls
|
||||||
|
|
||||||
|
|||||||
@@ -783,7 +783,7 @@ for (const line of encodeLines(largeData)) {
|
|||||||
```
|
```
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> For streaming decode APIs, see [`decodeFromLines()`](/reference/api#decodeFromLines-lines-options) and [`decodeStream()`](/reference/api#decodeStream-source-options).
|
> For streaming decode APIs, see [`decodeFromLines()`](https://toonformat.dev/reference/api#decodefromlines-lines-options) and [`decodeStream()`](https://toonformat.dev/reference/api#decodestream-source-options).
|
||||||
|
|
||||||
## Playgrounds
|
## Playgrounds
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user