Open xudesheng opened 3 months ago
I failed to use this crate to download a PDF file using a web worker.
The source code only works in the main thread since it needs to access the window object from web_sys.
let window = web_sys::window().unwrap();
Is it possible to support it in a web worker?
I failed to use this crate to download a PDF file using a web worker.
The source code only works in the main thread since it needs to access the window object from web_sys.
Is it possible to support it in a web worker?