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

Method ready

crates/debugger/src/host/api.rs:140–151  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

138#[async_trait::async_trait]
139impl wasmtime_wasi_io::poll::Pollable for EventFuture {
140 async fn ready(&mut self) {
141 match &mut self.state {
142 EventFutureState::Running(future) => {
143 let (inner, result) = future.await;
144 self.state = EventFutureState::Done {
145 inner,
146 result: Some(result),
147 };
148 }
149 EventFutureState::Done { .. } => {}
150 }
151 }
152}
153
154/// Representation of a frame within a debuggee.

Callers 1

finishMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected