Module: Magent::Async::Methods

Defined in:
lib/magent/async.rb

Instance Method Summary collapse

Instance Method Details

#async(queue = :default, priority = 3) ⇒ Object

@question.async(:judge).on_view_question



57
58
59
# File 'lib/magent/async.rb', line 57

def async(queue = :default, priority = 3)
  Magent::Async::Proxy.new(queue, self, priority)
end