def send(self, msg):
        def thread_send():
            self.session.send(self.stream, msg)
        self.ioloop.add_callback(thread_send)
Queue a message to be sent from the IOLoop's thread.
dataset/ETHPy150Open jupyter/jupyter_client/jupyter_client/threaded.py/ThreadedZMQSocketChannel.send