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

Method interrupt_pending

crates/debugger/src/lib.rs:309–311  ·  view source on GitHub ↗

Get the interrupt-pending flag. Setting this to `true` causes the next epoch yield to surface as an `Interrupted` event.

(&self)

Source from the content-addressed store, hash-verified

307 /// Get the interrupt-pending flag. Setting this to `true` causes
308 /// the next epoch yield to surface as an `Interrupted` event.
309 pub fn interrupt_pending(&self) -> &Arc<AtomicBool> {
310 &self.interrupt_pending
311 }
312
313 async fn wait_for_initial(&mut self) -> Result<()> {
314 if let DebuggeeState::Initial = &self.state {

Callers 1

add_debuggeeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected