Method: Bundler::Worker#enq

Defined in:
lib/bundler/worker.rb

#enq(obj) ⇒ Object

Enqueue a request to be executed in the worker pool

Parameters:

  • obj (String)

    mostly it is name of spec that should be downloaded


35
36
37
38
# File 'lib/bundler/worker.rb', line 35

def enq(obj)
  create_threads unless @threads
  @request_queue.enq obj
end