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__,
|
"script.concurrent (%s)" % fn.__name__,
|
||||||
target=run
|
target=run
|
||||||
).start()
|
).start()
|
||||||
|
# Support @concurrent for class-based addons
|
||||||
if "." in fn.__qualname__:
|
if "." in fn.__qualname__:
|
||||||
return staticmethod(_concurrent)
|
return staticmethod(_concurrent)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user