diff --git a/README.md b/README.md index 4d0b5b7..2e13a76 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 +* Id - string containing the new token of the enqueued job ## Contributors ## diff --git a/lib/Resque.php b/lib/Resque.php index e01ab75..2b47084 100644 --- a/lib/Resque.php +++ b/lib/Resque.php @@ -189,6 +189,7 @@ class Resque 'class' => $class, 'args' => $args, 'queue' => $queue, + 'id' => $result, )); }