Method: Async::Reactor#stop
- Defined in:
- lib/async/reactor.rb
#stop ⇒ void
This method returns an undefined value.
Stop the reactor at the earliest convenience. Can be called from a different thread safely.
111 112 113 114 115 116 |
# File 'lib/async/reactor.rb', line 111 def stop unless @stopped @stopped = true @selector.wakeup end end |