wasm_thread icon indicating copy to clipboard operation
wasm_thread copied to clipboard

Allow posting messages to web workers

Open chemicstry opened this issue 2 years ago • 0 comments

Currently it's not possible to send/receive messages to/from web workers because library overtakes on_message callbacks.

It would be nice to somehow allow sending custom messages over API. It might also be possible to release on_message callbacks aftrer initialization and use channels for communication inside the library.

This feature would probably need a major rewrite as discussed in https://github.com/chemicstry/wasm_thread/issues/8

chemicstry avatar Jun 18 '22 20:06 chemicstry