Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_suspended
Method · 0.80
Calls
2
lasti
Method · 0.80
load
Method · 0.45
Tested by
no test coverage detected