Skip to main content

WasmEdge_AsyncWaitFor

Function WasmEdge_AsyncWaitFor 

Source
pub unsafe extern "C" fn WasmEdge_AsyncWaitFor(
    Cxt: *const WasmEdge_Async,
    Milliseconds: u64,
) -> bool
Expand description

Wait for a WasmEdge_Async execution with timeout.

\param Cxt the WasmEdge_Async. \param Milliseconds times to wait.

\returns result of waiting: true if execution ended, false if timeout occurred.