Skip to content

Commit

Permalink
docs: bun v0.8.0 supports streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Jan 16, 2024
1 parent 832e168 commit 061b0fc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions website/src/pages/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,7 @@ await serve(
);
```

### With [`Bun@>=0.5.7`](https://bun.sh/)

<Callout type="warning">
Bun's fetch does not support streaming ([see
issue](https://github.com/oven-sh/bun/issues/2103#issuecomment-1435652020)).
</Callout>
### With [`Bun@>=0.8.0`](https://bun.sh/)

```js
import { createHandler } from 'graphql-sse/lib/use/fetch'; // bun install graphql-sse
Expand Down

0 comments on commit 061b0fc

Please sign in to comment.