Home
last modified time | relevance | path

Searched refs:func_new_async (Results 1 – 8 of 8) sorted by relevance

/wasmtime-44.0.1/tests/all/
H A Dasync_functions.rs44 linker.func_new_async( in smoke_host_func()
102 linker.func_new_async( in smoke_host_func_with_suspension()
385 linker.func_new_async( in async_host_func_with_pooling_stacks()
1110 linker.func_new_async("", "b", ty, |mut cx, _, results| { in async_gc_with_func_new_and_func_wrap()
H A Dmissing_async.rs82 linker.func_new_async("", "", ty, |_, _, _| Box::new(async { Ok(()) }))?; in require_async_after_linker_with_func_new()
H A Dpooling_allocator.rs929 linker.func_new_async( in total_stacks_limit()
/wasmtime-44.0.1/tests/all/component_model/
H A Dmissing_async.rs120 .func_new_async("hi", |_, _, _, _| Box::new(async { Ok(()) }))?; in require_async_after_linker_with_func_new_async()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dlinker.rs659 pub fn func_new_async<F>(&mut self, name: &str, func: F) -> Result<()> in func_new_async() method
671 self.insert(name, Definition::Func(HostFunc::func_new_async(func)))?; in func_new_async()
/wasmtime-44.0.1/crates/c-api/src/
H A Dasync.rs289 linker.linker.func_new_async(module, name, ty, cb), in wasmtime_linker_define_async_func()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/func/
H A Dhost.rs180 pub(crate) fn func_new_async<T, F>(func: F) -> Arc<HostFunc> in func_new_async() method
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dlinker.rs463 pub fn func_new_async<F>( in func_new_async() method