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-worldwith Func::call_async, are there APIs to quit withingreet's body without returninghello-worldfn, but returning directly toFunc::call_async.
alexcrichton commented on issue #8863:
You can also use
Config::epoch_interruptionbut 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-worldwith Func::call_async, are there APIs to quit withingreet's body without returninghello-worldfn, but returning directly toFunc::call_async.
Last updated: Dec 13 2025 at 19:03 UTC