Stream: git-wasmtime

Topic: wasmtime / issue #8863 Is it possible to abort a componen...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 24 2024 at 06:55):

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 within greet's body without returning hello-world fn, but returning directly to Func::call_async.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 24 2024 at 14:35):

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.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 27 2024 at 10:54):

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 within greet's body without returning hello-world fn, but returning directly to Func::call_async.


Last updated: Nov 22 2024 at 17:03 UTC