core-async 2025-04-30

is the intent with init/transition to construct stateful connections to things like external databases or apis? i did that for a kafka job but looking at it in the monitor server leaks credentials so i'm wondering if i'm using it wrong.

Alex Miller (Clojure team) 2025-04-30T17:03:26.833699Z

Yes, but that’s a good note for @jarrodctaylor

i can wrap in something like this for now

(deftype Secret [val]
  clojure.lang.IDeref
  (deref [_] val))

(defn secret [val] (->Secret val))

Alex Miller (Clojure team) 2025-04-30T17:11:01.792449Z

Maybe we should datafy the state - that would give the step-fn the option to tailor