Re: clojure future method

2016-02-15 Thread Mike Sassak
Is the future returning a lazy seq? You might need to walk the seq with doseq / dorun etc. On Mon, Feb 15, 2016, 6:02 AM Gary Verhaegen wrote: > `future` starts a function in a separate thread, which comes out of a > thread pool. It may not be that easy to check if a future has run at > all if y

Re: Concurrency Threads

2016-02-12 Thread Mike Sassak
Hi Fernando, You could try agents, but I'm not sure they're a good fit for periodic execution. I suggest looking at the scheduled Executors in java.util.concurrent, and then using them in your Clojure code. Mixes pretty much seamlessly with Clojure's refs and functions (indeed much of Clojure's co