11. A simple echo server
(defn setup-echo [ch]
(receive-all ch #(enqueue ch %))
or
(defn setup-echo [ch]
(siphon ch ch))
12. A restatement of the problem
• We want the latest changelist from the server
• If a new changelist is available, respond
immediately
• Otherwise, delay the response until a new
changelist comes in