Method: Concurrently::EventLoop.current
- Defined in:
- lib/all/concurrently/event_loop.rb
.current ⇒ Object
The event loop of the current thread.
This method is thread safe. Each thread returns its own event loop.
27 28 29 |
# File 'lib/all/concurrently/event_loop.rb', line 27 def self.current @current ||= new end |