I am playing with chasm and I am thinking to use it for my own plugin system that runs plugins compiled in WASM. But I wonder if there is a way to interrupt plugin's execution when user does not want to wait for the plugin finishing its work.
Right now, I don't see an API in chasm for this. So will there be such API in the future?
For a simple example, the invoke function could have a suspend overload that listens to its Job's cancellation.
I am playing with chasm and I am thinking to use it for my own plugin system that runs plugins compiled in WASM. But I wonder if there is a way to interrupt plugin's execution when user does not want to wait for the plugin finishing its work.
Right now, I don't see an API in chasm for this. So will there be such API in the future?
For a simple example, the
invokefunction could have a suspend overload that listens to itsJob's cancellation.