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: Nov 22 2024 at 16:03 UTC