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

Method next

crates/wasm/src/js_module.rs:598–600  ·  view source on GitHub ↗
(zelf: &Py<Self>, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

596 impl SelfIter for AwaitPromise {}
597 impl IterNext for AwaitPromise {
598 fn next(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<PyIterReturn> {
599 zelf.send(None, vm)
600 }
601 }
602
603 fn new_js_error(vm: &VirtualMachine, err: JsValue) -> PyBaseExceptionRef {

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected