Open danboyle8637 opened 3 years ago
Internal ticket number is OSS-958
FYI The known issues section of the README that the OP referenced has apparently been removed in this commit by @parkhomenko :
https://github.com/fauna/faunadb-js/commit/6e386ec53bc4420424282a4cde38895b0d8a6e78
It's not clear if anything else other than the doc removal has changed.
AbortController and AbortSignal are both supported now. It seems this is why the docs were removed and I believe this issue can be closed now.
https://community.cloudflare.com/t/2021-9-24-workers-runtime-release-notes/308821
I have been trying to figure out a way to make this...
https://github.com/fauna/faunadb-js#known-issues
Work with Typescript. But I'm confused.
Cloudlfare Workers do have a native fetch so I'm confused as to why the workaround is needed.
I can't find anything about them supporting AbortController.... but maybe we can set a timeout and skill the Fauna Request or the stream. Although if it's a stream would you not kill that manually???
Can you help explain how Fauna uses cross-fetch more?
Maybe there is a way around this. Cloudflare Workers did just release Workers Unbound with 30 seconds of "alive" time.. not sure what you realy call that.
Anyway I would really love to get this working with TS support but I am at a standstill at the moment.