Is it possible to use zmq.Poller to also poll for data availability on stdin? If not, what would be the most efficient wait to poll, at the some time (ideally), for data availability on zeromq sockets & stdin?
Is it possible to use zmq.Poller to also poll for data availability on stdin
Share
yes, zmq pollers do support native FDs, including stdin, etc., so you just need to check
sys.stdin.fileno():