Method: Async::Scheduler#interrupt
- Defined in:
- lib/async/scheduler.rb
permalink #interrupt ⇒ Object
Interrupt the event loop and cause it to exit.
160 161 162 163 |
# File 'lib/async/scheduler.rb', line 160 def interrupt @interrupted = true @selector&.wakeup end |