Skip to content

Instantly share code, notes, and snippets.

@barkanido
Created January 23, 2019 04:30
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 barkanido/f0e603591f4bcaa092f244c95e633f00 to your computer and use it in GitHub Desktop.
Save barkanido/f0e603591f4bcaa092f244c95e633f00 to your computer and use it in GitHub Desktop.
user=> (aero/put c "index" "set-name" 42 1000)
<< … >>
user=> (def f (aero/get-single c "index" "set-name"))
#'user/f
user=> (d/chain (aero/get-single c "index" "set-name")
#_=> :ttl
#_=> aero/expiry-unix
#_=> #(java.time.Instant/ofEpochSecond %)
#_=> str
#_=> println)
<< … >>
2019-01-10T09:02:45Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment