A client could use a timeout channel as its receive channel to get
timeouts on a blocking call, though I don't think that's the right way
to do it. Alternatively, implementing a blocking call with an optional
timeout wouldn't be difficult, it just can't be the default.
I think if you disallowed nil as a response, then it would be easy to
use a variety of different blocking calls -- wait forever, wait 30
seconds, wait until (f) returns truthy, etc.
-ToBeReplaced
On 08/01/2013 03:36 PM, Cedric Greevey wrote:
On Thu, Aug 1, 2013 at 1:09 PM, <toberepla...@gmail.com
<mailto:toberepla...@gmail.com>> wrote:
There would be no intent to solve the messenger problem explicitly
-- those semantics are up to the user. By default, in the case of
server death, the client side will just no longer receive
responses on its receive-channel. In the case of a blocking call,
this means that the client side will hang.
Ugh. At the *very* least it should eventually return with some kind of
a timeout exception.
--
--
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 a topic in the
Google Groups "Clojure" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/clojure/P95cOfuXBUs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--
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/groups/opt_out.