sammyne opened issue #8863:
Given host utils fn as
interface greeter{ greet: func(); }
which will be implemented by Host, and called by someone else's fn
hello-world
.When calling
hello-world
with Func::call_async, are there APIs to quit withingreet
's body without returninghello-world
fn, but returning directly toFunc::call_async
.
alexcrichton commented on issue #8863:
You can also use
Config::epoch_interruption
but those are the only two implemented methods of interrupting executing WebAssembly code. If you only need to interrupt the host, and not the guest, you can just use async without fuel/epochs.
sammyne closed issue #8863:
Given host utils fn as
interface greeter{ greet: func(); }
which will be implemented by Host, and called by someone else's fn
hello-world
.When calling
hello-world
with Func::call_async, are there APIs to quit withingreet
's body without returninghello-world
fn, but returning directly toFunc::call_async
.
Last updated: Nov 22 2024 at 17:03 UTC