Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nonebot/nonebot2
/ _ready2
Function
_ready2
tests/test_driver.py:61–63 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
60
@adapter.on_ready
61
def
_ready2():
62
assert ready_log == [1]
63
ready_log.append(2)
64
65
@driver.on_shutdown
66
async
def
_shutdown1():
Callers
nothing calls this directly
Calls
1
append
Method · 0.80
Tested by
no test coverage detected