Replies: 4 comments
|
You might want to look at https://github.com/prisma-labs/graphql-request/#cancellation |
0 replies
|
I would be also interested in a smooth way to set it by configuration. |
0 replies
|
If you are running node this does the trick: return new GraphQLClient(someUrl, {
signal: AbortSignal.timeout(API_CALL_TIMEOUT_MS),
});See AbortSignal-Docs |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What is the default timeout for a given request and where can I configure that?
All reactions