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: Dec 23 2024 at 14:03 UTC