Ah, I remember why now: Since the event loop is in a 'go' block and because I didn't want slow event handlers blocking everything, I wanted to dispatch my event handler in a (thread ...) call.
Perhaps start-chsk-router! could take an optional argument to indicate the handler call should be spun off in a thread? I'll go open an issue for this on Sente's Github repo for discussion. Sean On Sep 6, 2014, at 3:48 PM, Sean Corfield <s...@corfield.org> wrote: > On Sep 6, 2014, at 3:55 AM, Hugo Duncan <duncan.h...@gmail.com> wrote: >> Did you change `start-chsk-router-loop!` to `start-chsk-router!`? > > I don't use those. I read directly from ch-recv due to some of the stuff I > needed to do (when I first started using Sente). I may revisit this now... >
signature.asc
Description: Message signed with OpenPGP using GPGMail