class IO::Event::Debug::Selector

def select(duration = nil)

def select(duration = nil)
	unless Fiber.current == @selector.loop
		Kernel::raise "Selector must be run on event loop fiber!"
	end
	
	@selector.select(duration)
end