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

Method wait

crates/gdbstub-component/src/api.rs:33–37  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

31 }
32
33 pub async fn wait(&mut self) {
34 if let Some(pollable) = self.pollable.as_mut() {
35 pollable.wait_for().await;
36 }
37 }
38
39 pub fn result(mut self, d: &Debuggee) -> std::result::Result<Event, Error> {
40 // Drop the pollable first, since it's a child resource.

Callers 13

mainFunction · 0.45
build_wasi_exampleFunction · 0.45
runFunction · 0.45
spawnMethod · 0.45
p3_cli_stdout_flushFunction · 0.45
run_wasmtime_pipedFunction · 0.45
spawnMethod · 0.45
guest_debug_cli_fib_stepFunction · 0.45
wait_for_print_resultMethod · 0.45

Calls 2

wait_forMethod · 0.80
as_mutMethod · 0.45

Tested by 4

runFunction · 0.36
spawnMethod · 0.36
p3_cli_stdout_flushFunction · 0.36
run_wasmtime_pipedFunction · 0.36