Method: Tap::App::Queue#unshift

Defined in:
lib/tap/app/queue.rb

#unshift(task, input) ⇒ Object

Enqueues the task and input, but to the top of the queue.



40
41
42
43
44
# File 'lib/tap/app/queue.rb', line 40

def unshift(task, input)
  synchronize do
    @queue.unshift [task, input]
  end
end