Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn pong-named []
- (receive {:ping (handle-named [the-msg]
- (do (println "[PONG]" the-msg "received.")
- (!- "ping" :pong)
- (pong)))
- :stop (handle (println "[PONG] stopping."))}))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement