Re: core.async chan ex-handler

2015-01-23 Thread coltnz
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 wil

core.async chan ex-handler

2015-01-22 Thread Derek Troy-West
>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 does