diff --git a/README.md b/README.md index 8b8bb53..e247c21 100644 --- a/README.md +++ b/README.md @@ -384,6 +384,7 @@ Called after a job has been queued using the `Resque::enqueue` method. Arguments * Class - string containing the name of scheduled job * Arguments - array of arguments supplied to the job * Queue - string containing the name of the queue the job was added to +* Token - string containing the new token of the enqueued job ## Contributors ## diff --git a/lib/Resque.php b/lib/Resque.php index e01ab75..1bba5da 100644 --- a/lib/Resque.php +++ b/lib/Resque.php @@ -189,6 +189,7 @@ class Resque 'class' => $class, 'args' => $args, 'queue' => $queue, + 'token' => $result, )); }