pub fn register_host_value_async<F>(
linker: &mut Linker<StoreData>,
module: &str,
mangled_name: MangledName,
ty: FuncType,
body: F,
) -> Result<()>Expand description
Register a host function that returns one Wasm value. The adapter owns the ABI slot; the body performs argument conversion, native work, then conversion of its result, in that order.