class IO::Event::Debug::Selector

def select(duration = nil)

Select for the given duration, forwarded to the underlying selector.
def select(duration = nil)
	log("Selecting for #{duration.inspect}")
	unless Fiber.current == @selector.loop
		Kernel::raise "Selector must be run on event loop fiber!"
	end
	
	@selector.select(duration)
end