I have a ZMQ subscriber socket
I want to constantly listen to this socket and react (call a callback method) whenever a message is received
Perhaps like this:
msg = ZMQ.recv(socket)
How can I do this without blocking my main thread?
Do I use Threads somehow or Tasks or what?