I made a flow to generate random data for an asset. It works and executes startup and shutdown correctly. If I run multiple generators for the same asset then I found a trick that works: I memorize the flow. But when I run this via anorder flow .. then my memorize trick does not work. I believe memoize uses thread local bindings. I think my pattern is something that comes up in many usecases. Any ideas? This is my code: https://github.com/clojure-quant/quanta/blob/master/lib/trade/src/quanta/quote/random.clj
link is broken