Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
append
Method · 0.45
stop
Method · 0.45
set
Method · 0.45
sleep
Method · 0.45
result
Method · 0.45
cancel
Method · 0.45
Tested by
no test coverage detected