Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgrana committed Feb 1, 2011
1 parent 61ba7fa commit 12731f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/clj_redis/client.clj
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,6 @@

(defn zrem [p ^String k ^String m]
(lease p (fn [^Jedis j] (.zrem j k m))))

(defn publish [p ^String c ^String m]
(lease p (fn [^Jedis j] (.publish j c m))))

0 comments on commit 12731f0

Please sign in to comment.