This is not difficult to write on my own, but I want to check if an existing crate does this.
Is there a way to transform MessagePort in web_sys - Rust into two async channels ?
1 one async channel, the input channel, is the msgs to run postMessage on the MessagePort for
- the other async channel just collects msgs from on_message of the MessagePort
Basically it takes the callback based API and turns it async.