Flowdock
method

no_wait_poll

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Queue
no_wait_poll() private

Remove and return the head of the queue if the number of available elements is strictly greater than the number of threads currently waiting. Otherwise, return nil.

Show source
Register or log in to add new notes.