pub unsafe extern "C" fn WasmEdge_AsyncGet(
    Cxt: *const WasmEdge_Async,
    Returns: *mut WasmEdge_Value,
    ReturnLen: u32
) -> WasmEdge_Result
Expand description

Wait and get the result of WasmEdge_Async execution.

This function will wait until the execution finished and return the execution status and the return values. If the Returns buffer length is smaller than the arity of the function, the overflowed return values will be discarded.

\param Cxt the WasmEdge_ASync. \param [out] Returns the WasmEdge_Value buffer to fill the return values. \param ReturnLen the return buffer length.

\returns WasmEdge_Result. Call WasmEdge_ResultGetMessage for the error message.