hannel.
>>>
>>> I've found that it's best / you need to put a newline between messages
>>> so that the response will be properly flushed.
>>>
>>> I'm pretty sure I don't need the future, but here's how I've done it.
>>>
ne it.
>
> https://github.com/duck1123/jiksnu/blob/8d66c34f1be8b0b29b0959a18cfdc315346c2bd2/src/jiksnu/actions/stream_actions.clj#L128
>
> Hope that helps.
>
> On Tue, May 1, 2012 at 7:17 AM, Dusan Miloradovic
> wrote:
> > Unfortunaltely that does not work either, thank you
Unfortunaltely that does not work either, thank you for the help. It stops
receiving after the first message, just like before. Here is the updated
version:
(defn long-poll-newest
([url callback error-callback]
(long-poll-newest url callback error-callback (net/xhr-connection)))
([url cal