pip install simpleq
python
from simpleq import SimpleQ
python
queue = SimpleQ()
python
queue.add(task_function, delay=10)
python
queue.start()
python
def task_function():
python
from simpleq import SimpleQ
def task_function():
queue = SimpleQ()
queue.add(task_function, delay=10)
queue.start()
python
queue = SimpleQ(max_size=100)
python
queue.add(task_function, delay=10, priority=1)