This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
module Typhoeus
|
||||
class Hydra
|
||||
|
||||
# This module contains logic to run a hydra.
|
||||
module Runnable
|
||||
|
||||
# Start the hydra run.
|
||||
#
|
||||
# @example Start hydra run.
|
||||
# hydra.run
|
||||
#
|
||||
# @return [ Symbol ] Return value from multi.perform.
|
||||
def run
|
||||
dequeue_many
|
||||
multi.perform
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user