wasmtime_func_async_callback_t typedef
\brief Callback signature for #wasmtime_linker_define_async_func.
This is a host function that returns a continuation to be called later.
All the arguments to this function will be kept alive until the continuation returns that it has errored or has completed.
\param env user-provided argument passed to
#wasmtime_linker_define_async_func
\param caller a temporary object that can only be used during this function
call. Used to acquire #wasmtime_context_t or caller's state
\param args the arguments provided to this function invocation
\param nargs how many arguments are provided
\param results where to write the results of this function
\param nresults how many results must be produced
\param trap_ret if assigned a not NULL value then the called
function will trap with the returned error. Note that ownership of
trap is transferred to wasmtime.
\param continuation_ret the returned continuation
that determines when the async function has completed executing.
Only supported for async stores.
See #wasmtime_func_callback_t for more information.
Implementation
typedef wasmtime_func_async_callback_t =
ffi.Pointer<ffi.NativeFunction<wasmtime_func_async_callback_tFunction>>;