Searched refs:func_new_async (Results 1 – 8 of 8) sorted by relevance
| /wasmtime-44.0.1/tests/all/ |
| H A D | async_functions.rs | 44 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 D | missing_async.rs | 82 linker.func_new_async("", "", ty, |_, _, _| Box::new(async { Ok(()) }))?; in require_async_after_linker_with_func_new()
|
| H A D | pooling_allocator.rs | 929 linker.func_new_async( in total_stacks_limit()
|
| /wasmtime-44.0.1/tests/all/component_model/ |
| H A D | missing_async.rs | 120 .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 D | linker.rs | 659 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 D | async.rs | 289 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 D | host.rs | 180 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 D | linker.rs | 463 pub fn func_new_async<F>( in func_new_async() method
|