We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fee4cd commit ca2e8acCopy full SHA for ca2e8ac
lib/resque.rb
@@ -222,6 +222,9 @@ def watch_queue(queue)
222
#
223
# If no queue can be inferred this method will raise a `Resque::NoQueueError`
224
225
+ # Returns true if the job was queued, nil if the job was rejected by a
226
+ # before_enqueue hook.
227
+ #
228
# This method is considered part of the `stable` API.
229
def enqueue(klass, *args)
230
# Perform before_enqueue hooks. Don't perform enqueue if any hook returns false
0 commit comments