Switching our engine to Wasmtime and i was wondering what the best way to interrupt a function call based on a timeout? Would set_epoch_deadline suffice?
that's the closest approximation, yes, you'd increment the epoch at the timeout dealine which would trigger an event in the guest
Awesome. Is it possible to use epoch_deadline_callback for this in your opinion?
I believe so, yeah
Sweet thank you!
Cwasi4wasm has marked this topic as resolved.
Last updated: Nov 22 2024 at 16:03 UTC