MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / async_store

Function async_store

tests/all/async_functions.rs:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7use wasmtime::*;
8
9fn async_store() -> Store<()> {
10 Store::new(&Engine::default(), ())
11}
12
13async fn run_smoke_test(store: &mut Store<()>, func: Func) {
14 func.call_async(&mut *store, &[], &mut []).await.unwrap();

Callers 13

smokeFunction · 0.70
smoke_host_funcFunction · 0.70
smoke_with_suspensionFunction · 0.70
recursive_callFunction · 0.70
suspend_while_suspendingFunction · 0.70
resume_separate_threadFunction · 0.70
resume_separate_thread2Function · 0.70
resume_separate_thread3Function · 0.70
recursive_asyncFunction · 0.70
linker_module_commandFunction · 0.70

Calls 1

newFunction · 0.50

Tested by

no test coverage detected