Skip to content

Commit 197ad38

Browse files
Update docs/tasks/streams.mdx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 2f0d2e7 commit 197ad38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tasks/streams.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ cancelSignal.on((data) => {
610610
console.log("Cancelled:", data.reason);
611611
controller.abort();
612612
});
613-
const result = await streamText({ ..., abortSignal: controller.signal });
613+
const result = streamText({ ..., abortSignal: controller.signal });
614614
```
615615

616616
#### `peek()` — Non-blocking check

0 commit comments

Comments
 (0)