The quote puzzles me. I would be less puzzled if it said "... turns the 
Asynchronous-looking channel reads and write into Synchronous calls."

I don't understand the source of asynchrony in single-threaded JavaScript. I 
can see that a go block can implement something equivalent to an iterator via a 
state machine and queues, so a data-producer and a data-consumer can have the 
illusion of asynchrony while executing on a single thread. I can see that 
JavaScript may interact with external software by blocking the JavaScript 
thread and by responding through callbacks that run on the JavaScript thread. 
Those callbacks could implement the channel abstraction of clojure.async. Am I 
missing some other kinds of interaction? Have I got an accurate or inaccurate 
picture of what's going on in JavaScript?

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to