lib/lightio/core/backend/nio.rb in lightio-0.3.1 vs lib/lightio/core/backend/nio.rb in lightio-0.3.2
- old
+ new
@@ -51,9 +51,11 @@
# LightIO use NIO as default event-driving backend
class NIO
extend Forwardable
def_delegators :@selector, :closed?, :empty?, :backend, :wakeup
+ attr_reader :running
+
def initialize
# @selector = NIO::Selector.new
@current_loop_time = nil
@running = false
@timers = Timers.new
\ No newline at end of file