This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-06
Channels
- # aleph (79)
- # bangalore-clj (3)
- # beginners (49)
- # boot (74)
- # cider (10)
- # cljs-dev (21)
- # cljsrn (2)
- # clojure (105)
- # clojure-berlin (1)
- # clojure-brasil (1)
- # clojure-dusseldorf (1)
- # clojure-korea (1)
- # clojure-poland (3)
- # clojure-russia (38)
- # clojure-spec (146)
- # clojure-uk (20)
- # clojurescript (70)
- # cloverage (1)
- # component (1)
- # core-async (23)
- # css (16)
- # cursive (22)
- # datascript (1)
- # datomic (22)
- # defnpodcast (6)
- # emacs (60)
- # events (1)
- # hoplon (94)
- # jobs (1)
- # jobs-rus (13)
- # luminus (11)
- # off-topic (11)
- # om (48)
- # onyx (5)
- # proton (7)
- # re-frame (87)
- # reagent (39)
- # rethinkdb (1)
- # ring-swagger (14)
- # rum (6)
- # specter (14)
- # untangled (105)
- # vim (6)
- # yada (22)
I just added this to stackexchange's codereview
, would you any of you async
pros mind glancing at my work, and tell me if I'm doing things idiomatically, or if there's a better way?
http://codereview.stackexchange.com/questions/143380/a-simple-async-task-in-clojure
Thanks so much!
(I'm not an authority regarding what's idiomatic, but at least I can suggest improvements)
@val_waeselynck those were awesome suggestions, thank you, implementing now...
I need to make "time-buffered" evaluation... so I don't overload with requests some servers...
so your http/get is happening immediately before timebuff is called, then timebuf is just waiting for a while to give you the result
I would create a loop running on a thread that reads a pair of [thunk result-channel] from an input channel, then does (!!> result-channel (thunk)) then any sleep, then back through the loop