Crate rspack_browser

Crate rspack_browser 

Source
Expand description

This crate contains everything that should only be used for @rspack/browser, especially some api that avoiding requesting locks in the main thread of browser.

Always make it optional and use a “browser” feature to control it.

[features]
browser = ["dep:rspack_browser"]

[dependencies]
rspack_browser = { workspace = true, optional = true }

Modules§

oneshot
Busy-wait version oneshot channel aiming to be the drop-in replacement of other oneshot crates such [tokio::sync::oneshot]
panic
See install_panic_handler