Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
len
Function · 0.85
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