MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / cancelAll

Method cancelAll

src/PyEventLoop.cc:253–258  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

251
252/* static */
253bool PyEventLoop::AsyncHandle::cancelAll() {
254 for (AsyncHandle &handle: _timeoutIdMap) {
255 handle.cancel();
256 }
257 return true;
258}
259
260bool PyEventLoop::AsyncHandle::cancelled() {
261 // https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.Handle.cancelled

Callers

nothing calls this directly

Calls 1

cancelMethod · 0.80

Tested by

no test coverage detected