pub unsafe extern "C" fn WasmEdge_VMAsyncExecuteRegistered(
    Cxt: *mut WasmEdge_VMContext,
    ModuleName: WasmEdge_String,
    FuncName: WasmEdge_String,
    Params: *const WasmEdge_Value,
    ParamLen: u32
) -> *mut WasmEdge_Async
Expand description

Asynchronous invoke a WASM function by its module name and function name.

After registering a WASM module in the VM context, you can repeatedly call this function to invoke exported WASM functions by their module names and function names until the VM context is reset.

This function is thread-safe.

\param Cxt the WasmEdge_VMContext. \param ModuleName the module name WasmEdge_String. \param FuncName the function name WasmEdge_String. \param Params the WasmEdge_Value buffer with the parameter values. \param ParamLen the parameter buffer length.

\returns WasmEdge_Async. Call WasmEdge_AsyncGet for the result, and call WasmEdge_AsyncDelete to destroy this object.