mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
docs++
This commit is contained in:
parent
5fc4fc28b6
commit
29c4a43e50
@ -29,6 +29,7 @@ def concurrent(fn):
|
||||
"script.concurrent (%s)" % fn.__name__,
|
||||
target=run
|
||||
).start()
|
||||
# Support @concurrent for class-based addons
|
||||
if "." in fn.__qualname__:
|
||||
return staticmethod(_concurrent)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user