wasmerio / wasmer

🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
https://wasmer.io
MIT License
18.52k stars 793 forks source link

WASIX: Split internal and external instance status notification channels #5106

Open theduke opened 4 days ago

theduke commented 4 days ago

Currently a common data structure is used both by the WASIX code to monitor status of instances, and to provide external notifications.

This prevents running instances on a dedicated tokio runtime, because notifications won't propagate between the main runtime and the dedicated one once futures have been polled on either one.

We need to split internal and external notification channels to enable this.