Skip to content

Instantly share code, notes, and snippets.

@myronahn
Created May 8, 2012 11:43
Show Gist options
  • Save myronahn/2634409 to your computer and use it in GitHub Desktop.
Save myronahn/2634409 to your computer and use it in GitHub Desktop.
Code that will trigger the error in aleph 0.2.1-rc2
(ns test.core
(:use aleph.redis))
(defn -main [& args]
(def ch1 (aleph.redis/redis-stream {:host "localhost", :port 6379}))
(lamina.core/on-closed ch1 #(println "ch1 closed"))
(aleph.redis/subscribe ch1 "babe"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment