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

Method pending

crates/stdlib/src/overlapped.rs:424–428  ·  view source on GitHub ↗
(&self, _vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

422
423 #[pygetset]
424 fn pending(&self, _vm: &VirtualMachine) -> bool {
425 let inner = self.inner.lock();
426 !HasOverlappedIoCompleted(&inner.overlapped)
427 && !matches!(inner.data, OverlappedData::NotStarted)
428 }
429
430 #[pygetset]
431 fn error(&self, _vm: &VirtualMachine) -> u32 {

Callers

nothing calls this directly

Calls 2

HasOverlappedIoCompletedFunction · 0.85
lockMethod · 0.45

Tested by

no test coverage detected