Skip to content

Instantly share code, notes, and snippets.

@amalloy
Created June 15, 2011 01:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amalloy/1026298 to your computer and use it in GitHub Desktop.
Save amalloy/1026298 to your computer and use it in GitHub Desktop.
graph.mbox> (def rcli (let [client (redis/redis-client {:host "localhost"})]
(fn [command] (client command 20000))))
#'graph.mbox/rcli
graph.mbox> @(rcli [:multi])
"OK"
graph.mbox> @(rcli [:keys "*"])
"QUEUED"
graph.mbox> @(rcli [:exec])
; Evaluation aborted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment