lib/polyphony/core/thread_pool.rb
# Runs the first queued task in the task queue.
#
# @return [void]
Runs the first queued task in the task queue.
Runs the first queued task in the task queue .
def run_queued_task
      (block, watcher) = @task_queue.shift
      result = block.()
      watcher&.signal(result)
    rescue Exception => e
      watcher ? watcher.signal(e) : raise(e)
    end
def run_queued_task ( block , watcher ) = @task_queue . shift result = block . ( ) watcher &. signal ( result ) rescue Exception => e watcher ? watcher . signal ( e ) : raise ( e ) end
Runs the first queued task in the task queue.
Runs the first queued task in the task queue .
None
void