Re: clj-time/do-at not workin as expected

2016-05-20 Thread JvJ
Actually, I've been using async channels the whole time. I just wanted to use scheduling rather than timeouts if possible. So, I'd like to be able to say "wait until this time" instead of "wait for an amount of time". On Friday, 20 May 2016 01:29:20 UTC-7, Colin Yates wrote: > > Have you consi

Re: clj-time/do-at not workin as expected

2016-05-20 Thread Colin Yates
Have you considered using async channels? JvJ writes: > Chime seems great, but I'm looking for something cross-platform (java/js). -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that

Re: clj-time/do-at not workin as expected

2016-05-20 Thread JvJ
Chime seems great, but I'm looking for something cross-platform (java/js). -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient

Re: clj-time/do-at not workin as expected

2016-05-19 Thread craig worrall
Chime? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email t

Re: clj-time/do-at not workin as expected

2016-05-19 Thread Fluid Dynamics
On Thursday, May 19, 2016 at 11:39:40 PM UTC-4, JvJ wrote: > > Ooooh, now I get it. Is there something equivalent do the kind of delayed > operation I'm expecting? > Well, there's always (future (Thread/sleep x) (f args)) ... -- You received this message because you are subscribed to the Googl

Re: clj-time/do-at not workin as expected

2016-05-19 Thread JvJ
Ooooh, now I get it. Is there something equivalent do the kind of delayed operation I'm expecting? On Thursday, 19 May 2016 20:22:31 UTC-7, Sean Corfield wrote: > > The docstring could be clearer… > > > > The do-at macro (which uses the do-at* function), evaluates the expression > in the cont

Re: clj-time/do-at not workin as expected

2016-05-19 Thread Sean Corfield
The docstring could be clearer… The do-at macro (which uses the do-at* function), evaluates the expression in the context of the time being what you specified. Mostly useful for testing I suspect: boot.user=> (t/do-at (-> 1 t/minutes t/from-now) (println "Hi!" (t/now))) Hi! #object[org.j