From 4faba63d54e1917a52eebfcf7eff581e211b5f74 Mon Sep 17 00:00:00 2001 From: Ilan Steemers Date: Thu, 18 Jun 2015 10:44:23 +0200 Subject: [PATCH] Added hook to README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 21bd895..0404bb5 100644 --- a/README.md +++ b/README.md @@ -32,5 +32,11 @@ Failed packages are always saved. The medic loop checks the health of all workers, including the pusher and the monitor. In case one of them dies, the medic will reincarnate a new process to take over the duties of the deceased. +### Hooks + +When you pass `hook='module.somefunction'` to the package, upon completion of the package this function will be called with the Task object as the first argument. + + + ### Todo I'll add to this README while I'm developing the various parts. \ No newline at end of file