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

Method set_closed

crates/vm/src/builtins/asyncgenerator.rs:406–408  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

404 }
405
406 fn set_closed(&self) {
407 self.state.store(AwaitableState::Closed);
408 }
409}
410
411impl SelfIter for PyAsyncGenASend {}

Callers 2

sendMethod · 0.80
throwMethod · 0.80

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected