Re: scheduling with core.async?

2015-09-23 Thread Thomas Heller
To be honest I see no point in using core.async or any other library for that matter. Java already solves this problem very well. (ns ... (:import [java.util.concurrent TimeUnit Executors])) (def scheduler (doto (Executors/newSingleThreadScheduledExecutor) (.scheduleAtFixedRate the-

Re: scheduling with core.async?

2015-09-23 Thread bahadir cambel
Hi Leon, you may check http://www.clojure-toolbox.com/ and see the schedule section. Here are the suggestions; https://github.com/jarohen/chime (has core.async examples) https://github.com/overtone/at-at https://github.com/zcaudate/cronj Also, if you're using HTTP-Kit http://www.http-kit.org

Re: scheduling with core.async?

2015-09-23 Thread Gerrit Jansen van Vuuren
from my own experience with core async I;d say yes I've made two macros https://github.com/gerritjvv/fun-utils/blob/master/src/fun_utils/core.clj#L208 and https://github.com/gerritjvv/fun-utils/blob/master/src/fun_utils/core.clj#L220 that does exactly what you're referring to. Remember if you

scheduling with core.async?

2015-09-22 Thread Leon Grapenthin
Is it recommended to use core.asyncs timeout channel to wait on hour or even longer for light scheduling tasks? High precision is a nongoal. Kind regards, Leon. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to c