diff --git a/README.md b/README.md index a212f91..46f6c8c 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Schedule the asynchronous exectution of a function by calling `async` from withi ```python async(func,*args,hook=None,**kwargs) ``` +The optional hook function gets the finished task object as its first argument after execution ### Management commands diff --git a/README.rst b/README.rst index 3c736d5..69a30b5 100644 --- a/README.rst +++ b/README.rst @@ -28,6 +28,9 @@ from within your Django project. async(func,*args,hook=None,**kwargs) +The optional hook function gets the finished task object as its first +argument after execution + Management commands ~~~~~~~~~~~~~~~~~~~