Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nonebot/nonebot2
/ preprocess
Function
preprocess
nonebot/plugins/single_session.py:39–41 ·
view source on GitHub ↗
(mutex: bool = Depends(matcher_mutex))
Source
from the content-addressed store, hash-verified
37
38
@event_preprocessor
39
async
def
preprocess(mutex: bool = Depends(matcher_mutex)):
40
if
mutex:
41
raise
IgnoredException(
"Another matcher running"
)
Callers
nothing calls this directly
Calls
2
Depends
Function · 0.90
IgnoredException
Class · 0.85
Tested by
no test coverage detected