Function wasmedge_sys::ffi::WasmEdge_AsyncGetReturnsLength
source · pub unsafe extern "C" fn WasmEdge_AsyncGetReturnsLength(
Cxt: *const WasmEdge_Async
) -> u32
Expand description
Wait and get the return list length of the WasmEdge_Async execution.
This function will wait until the execution finished and return the return
value list length of the executed function. This function will return 0 if
the Cxt
is NULL, the execution was failed, or the execution was canceled.
Developers can call the WasmEdge_AsyncGet
to get the execution status and
the return values.
\param Cxt the WasmEdge_ASync.
\returns the return list length of the executed function.