On Friday, January 23, 2015 at 12:59:40 AM UTC+13, Derek Troy-West wrote:
>
> From the documentation:
>
> (chan buf-or-n xform ex-handler)
>
> "If a transducer is supplied a
> buffer must be specified. ex-handler must be a fn of one argument -
> if an exception occurs during transformation it will be called with
> the Throwable as an argument"
>
>
> Is there a reason the ex-handler fn doesn't have a second arity which also 
> takes the val which caused the transformation error?
>
>
>
No reason I can see. Seems worthy of a ticket on the async project to me.

You could construct your own ManyToManyChannel as a workaround for now. 
Copy chan's 3rd arity and call your own handle fn taking buf.

Colin 

-- 
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.

Reply via email to