]> git.datanom.net - flask-test.git/blame - app/decorators.py
final
[flask-test.git] / app / decorators.py
CommitLineData
163c4d87
MR
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.037388 seconds and 6 git commands to generate.