A loop that reads from the socket (will block when no message
available) and dispatches the message to the control thread.
(defn read-loop
"A loop that reads from the socket (will block when no message
available) and dispatches the message to the control thread."
([conn control]
(with-connection conn
(continuously (mb/send control (read-from-connection conn))))))
Comments top
No comments for read-loop. Log in to add a comment.