Skip to main content

Module watchdog

Module watchdog 

Source
Expand description

Wall-clock watchdog that drives wasmtime’s epoch-based interruption.

Structs§

Watchdog
Bind with let _watchdog = …, not let _ = …; _ drops immediately, disarming the timer before the guarded Wasm call completes.

Functions§

arm
Return an I/O error if the operating system cannot create the timer thread.