@staticmethod
    def _map_events(events):
        z_events = 0
        if events & IOLoop.READ:
            z_events |= POLLIN
        if events & IOLoop.WRITE:
            z_events |= POLLOUT
        if events & IOLoop.ERROR:
            z_events |= POLLERR
        return z_events
translate IOLoop.READ/WRITE/ERROR event masks into zmq.POLLIN/OUT/ERR
dataset/ETHPy150Open felipecruz/zmqpy/zmqpy/eventloop/ioloop.py/ZMQPoller._map_events