zeroexcuses commented on issue #860:
Sorry, is there a way to pause + resume wasmtime instances right now?
Context: imagine an ant colony simulation, where each ant = tiny wasm vm; we want to run every ant for a bit, then pause it, let other ants run, etc ...
alexcrichton commented on issue #860:
Yes to do that you'd want to use Wasmtime's support for
async
. Fuel and epochs are the mechanisms to suspend computations. I'd also recommend opening a new issue and/or a thread on Zulip instead of posting on older issues.
Last updated: Dec 23 2024 at 12:05 UTC