-
In the example below, should I get an error with an "aborted" reason, or is it expected that the library code "swallows" it? If it's relevant, I am using const abortCtrl = new AbortController();
abortCtrl.abort();
const { data, error } = await client.query(
/* query */ gql`…`,
/* vars */ {},
/* ctx */ { fetchOptions: { signal: abortCtrl.signal } },
).toPromise(); |
Beta Was this translation helpful? Give feedback.
Answered by
enisdenjo
Sep 28, 2023
Replies: 1 comment 2 replies
-
I think your question arrived at a wrong place. 😅 This is a WebSockets library, it doesn't use the Fetch API whatsoever. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
enisdenjo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think your question arrived at a wrong place. 😅
This is a WebSockets library, it doesn't use the Fetch API whatsoever.