seems like a good idea

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-02 17:44:57 -04:00
parent 025836214e
commit 511f782c78
2 changed files with 24 additions and 1 deletions
-1
View File
@@ -1 +0,0 @@
# background
+24
View File
@@ -0,0 +1,24 @@
background: does what it says it does
=====================================
This module makes it stupidly simple to run things in the background of your
application, be it a CLI app, or a web app.
Work in progress.
Usage
-----
import time
import background
@background.task
def work():
# Do something expensive here.
time.sleep(10)
for _ in range(100):
work()