What exactly are you trying to do? Could you describe the problem you're trying to solve in more detail?
- James On 8 April 2014 22:02, t x <txrev...@gmail.com> wrote: > I'd really like to avoid callbacks. :-) > > If cljs had promises, it would suffice. :-) > > On Tue, Apr 8, 2014 at 2:00 PM, Gary Trakhman <gary.trakh...@gmail.com> > wrote: > > I think you might be able to use put! with a callback, or (go (>! ..)) > > within foo for a transient go process. Not sure if there's any ill > effects. > > > > > > On Tue, Apr 8, 2014 at 4:51 PM, t x <txrev...@gmail.com> wrote: > >> > >> Hi, > >> > >> > >> * I am aware of core.async. However, I don't like the fact that (go > >> ... ) is a macro, thus forcing the >! and <! to appear "in the body", > >> and I can't do nested things like: > >> > >> (defn foo [chan] > >> (let [x (<! chan)] ... )) > >> > >> (go ... (foo ... )) > >> > >> > >> * For the following, I only need it to work in ClojureScript. I > >> don't need it to work in Clojure. Furthermore, we can assume browser = > >> latest Firefox, or browser = latest Chrome. > >> > >> > >> Now, my question: is there a library which provides "true" > >> lightweight Clojurescript threads? > >> > >> > >> Thanks! > >> > >> -- > >> 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 to > >> clojure+unsubscr...@googlegroups.com > >> For more options, visit this group at > >> http://groups.google.com/group/clojure?hl=en > >> --- > >> You received this message because you are subscribed to the Google > Groups > >> "Clojure" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to clojure+unsubscr...@googlegroups.com. > >> For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > 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 to > > clojure+unsubscr...@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/clojure?hl=en > > --- > > You received this message because you are subscribed to the Google Groups > > "Clojure" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to clojure+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > 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 to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.