MCPcopy Index your code
hub / github.com/RustPython/RustPython / suspended

Method suspended

crates/vm/src/coroutine.rs:242–244  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

240 }
241
242 pub fn suspended(&self) -> bool {
243 !self.closed.load() && !self.running.load() && self.frame.lasti() > 0
244 }
245
246 pub fn running(&self) -> bool {
247 self.running.load()

Callers 1

gi_suspendedMethod · 0.80

Calls 2

lastiMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected