]>
git.datanom.net - flask-test.git/blame_incremental - app/decorators.py
... / ...
Commit | Line | Data |
| 1 | from threading import Thread |
| 2 | |
| 3 | def 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.046856 seconds and 6 git commands to generate.