Skip to content

Commit e884da1

Browse files
ci: apply automated fixes
1 parent c80eceb commit e884da1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/router/framework/react/guide/streaming-data-from-server-functions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ A much cleaner approach with the same results is to use an async generator funct
7575
```ts
7676
const streamingWithAnAsyncGeneratorFn = createServerFn().handler(
7777
async function* () {
78-
const messages: Message[] = generateMessages();
78+
const messages: Message[] = generateMessages()
7979
for (const msg of messages) {
80-
await sleep(500);
80+
await sleep(500)
8181
// The streamed chunks are still typed as `Message`
82-
yield msg;
82+
yield msg
8383
}
8484
},
8585
)

0 commit comments

Comments
 (0)