blob: 90fbd1f5ce3183b57dfeea19552563e2d6aca052 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
from zmq.eventloop.zmqstream import *
from zmq.green.eventloop.ioloop import IOLoop
RealZMQStream = ZMQStream
class ZMQStream(RealZMQStream):
def __init__(self, socket, io_loop=None):
io_loop = io_loop or IOLoop.instance()
super(ZMQStream, self).__init__(socket, io_loop=io_loop)
|