On Fri, Jul 23, 2010 at 2:21 AM, I. E. Smith-Heisters <[email protected]> wrote:
> Sorry Google Groups was munging my code formatting. Here's my
> refactored half-solution nicely formatted: http://gist.github.com/486273
>
> I say half-solution because it may need to be iterated on a little,
> since it appears to be unstable when the `listen` functionality is
> triggered. The `listen` is the only way I could get it to resume at
> the end of a concurrent branch.
>
> The idea with this approach is that you can swap out Patient for
> something like Comet and push events directly to a user over HTTP.
> Having  the HTTP server thread do the waiting is just a cheap
> substitute for serving the user a page that waits for Ruote events.

Thanks for sharing !

It looks good.

-- 
John Mettraux   -   http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to