From e80e33daa08ae6197e6dd04686337dd580f35add Mon Sep 17 00:00:00 2001 From: Ilan Steemers Date: Wed, 24 Jun 2015 12:44:14 +0200 Subject: [PATCH] Updated README --- README.md | 1 + README.rst | 3 +++ 2 files changed, 4 insertions(+) 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 ~~~~~~~~~~~~~~~~~~~