setupEvent and nextEvent
Generator object
checking generators and creating events jin server ioloop