pub fn new() -> Self {
        MessageChannel {
            inner: web_sys::MessageChannel::new().unwrap_throw(),
        }
    }
// TODO: unclear how this would work with WASM threads. If this would only work on the main
// thread, then perhaps returning a Result would be appropriate.
unclear how this would work with WASM threads. If this would only work on the main
thread, then perhaps returning a Result would be appropriate.
unclear how this would work with WASM threads . If this would only work on the main thread then perhaps returning a Result would be appropriate .
pub fn new() -> Self {
        MessageChannel {
            inner: web_sys::MessageChannel::new().unwrap_throw(),
        }
    }
pub fn new ( ) -> Self { MessageChannel { inner : web_sys :: MessageChannel :: new ( ) . unwrap_throw ( ) , } }
TODO: unclear how this would work with WASM threads.
TODO : unclear how this would work with WASM threads .