feat(wasm): support request timeout
Thanks for PR #1755, making wasm timeout support is super easy now.
fixes #1135 supersede #1274
I've replace gloo-timers with wasm-bindgen functions.
(For the potential question: why not use web_sys::Window::set_timout_*? Because Window doesn't work in nodejs & webworker. However, I can switch into predefined functions if Window is only target.)
is there a plan to merge this please?
Hi any news about this one? To know if it's planned to add it or not?
I don't usually bump threads, but curious what is the holdup on this one? 😄 Seems like an easy win
So sorry this slipped, yes this seems much simpler. Happy to add it!
It seems like there's a test failure in WASM, though. Related?
~~Yes. I've shorten the timeout to reproduce timeout error in firefox.~~
It turns out that error message keywords didn't match, @seanmonstar
@seanmonstar will there be a release with this any time soon? Thanks.