]> git.datanom.net - flask-test.git/blame_incremental - app/decorators.py
final
[flask-test.git] / app / decorators.py
... / ...
CommitLineData
1from threading import Thread
2
3def async(f):
4 def wrapper(*args, **kwargs):
5 thr = Thread(target=f, args=args, kwargs=kwargs)
6 thr.start()
7 return wrapper
This page took 0.057081 seconds and 6 git commands to generate.