#71: Add note re: possible future `delay` wrapping for `:message`+`:output` keys

This commit is contained in:
Peter Taoussanis 2014-07-07 15:20:05 +07:00
parent ff6250b5da
commit e18ced6b2e
1 changed files with 3 additions and 0 deletions

View File

@ -283,6 +283,9 @@
(let [juxtfn-args (if-not msg-type juxtfn-args ; tools.logging
(-> juxtfn-args
(dissoc :msg-type)
;; TODO Consider a breaking change here to
;; swap assoc'd message with a delay, as
;; per http://goo.gl/7YVSfj:
(assoc :message
(when-not (empty? args)
(case msg-type