MCPcopy Index your code
hub / github.com/python/cpython / callback

Method callback

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected