eventloop.ioloop

Module: eventloop.ioloop

tornado IOLoop API with zmq compatibility

This module is deprecated in pyzmq 17. To use zmq with tornado, eventloop integration is no longer required and tornado itself should be used.

Classes

ZMQIOLoop

class zmq.eventloop.ioloop.ZMQIOLoop

ZMQ subclass of tornado’s IOLoop

Minor modifications, so that .current/.instance return self

Function

zmq.eventloop.ioloop.install()

set the tornado IOLoop instance with the pyzmq IOLoop.

After calling this function, tornado’s IOLoop.instance() and pyzmq’s IOLoop.instance() will return the same object.

An assertion error will be raised if tornado’s IOLoop has been initialized prior to calling this function.