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

Method callback

Lib/test/test_asyncio/test_events.py:314–316  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

312 results = []
313
314 def callback(arg):
315 results.append(arg)
316 self.loop.stop()
317
318 self.loop.call_later(0.1, callback, 'hello world')
319 self.loop.run_forever()

Callers

nothing calls this directly

Calls 7

lenFunction · 0.85
appendMethod · 0.45
stopMethod · 0.45
setMethod · 0.45
sleepMethod · 0.45
resultMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected