Method: Qpid::Proton::WorkQueue#add
- Defined in:
- lib/core/work_queue.rb
#add {|| ... } ⇒ void
Note:
Thread Safe: may be called in any thread.
This method returns an undefined value.
Add a block of code to be invoked in sequence.
49 50 51 |
# File 'lib/core/work_queue.rb', line 49 def add(&block) schedule(0, &block) end |