async-component-winit 0.9.0

winit async-component wrapper
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::WinitSignal;

// No thread in wasm
unsafe impl Send for WinitSignal {}

unsafe impl Sync for WinitSignal {}

#[cfg(test)]
#[test]
fn wasm_thread_test() {
    assert!(std::thread::Builder::new().spawn(|| {}).is_err())
}