Method: Async::Scheduler#push
- Defined in:
- lib/async/scheduler.rb
#push(fiber) ⇒ Object
Schedule a fiber (or equivalent object) to be resumed on the next loop through the reactor.
204 205 206 |
# File 'lib/async/scheduler.rb', line 204 def push(fiber) @selector.push(fiber) end |