-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
ofetch: 1.4.1
Node.js: N/A
Reproduction
import { ofetch } from 'ofetch'
const resp = await ofetch("https://echo.epb.wiki/_sse", {
query: { timeout: 3 },
});Describe the bug
The above code stuck for 3 seconds, but I expect it to return immediately,
and allowing me to process every individual events.
May be adding a hook between send the request and parsing body,
or have some ways to customize body parsing.
Additional context
No response
Logs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working