mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 17:18:12 +08:00
Updated README
This commit is contained in:
@@ -15,6 +15,7 @@ Schedule the asynchronous exectution of a function by calling `async` from withi
|
|||||||
```python
|
```python
|
||||||
async(func,*args,hook=None,**kwargs)
|
async(func,*args,hook=None,**kwargs)
|
||||||
```
|
```
|
||||||
|
The optional hook function gets the finished task object as its first argument after execution
|
||||||
|
|
||||||
### Management commands
|
### Management commands
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ from within your Django project.
|
|||||||
|
|
||||||
async(func,*args,hook=None,**kwargs)
|
async(func,*args,hook=None,**kwargs)
|
||||||
|
|
||||||
|
The optional hook function gets the finished task object as its first
|
||||||
|
argument after execution
|
||||||
|
|
||||||
Management commands
|
Management commands
|
||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user