I'm using core.async on ClojureScript to avoid using node.js callbacks. The problem is that I'm hitting the 1024 pending messages limit.
To avoid it, I would need to send all messages to channels inside the same go block. But this is not really possible on core.async because an anonymous function nullifies the effect of go, so I can't do this:
(go
(. socket on "data" #(>! chan %)))
So, is there a way to get around this limitation?