Closed pauleveritt closed 8 years ago
Should now be improved thanks to buffering the outputstream in the interpreters, see commit c007350dc5f2532b023609a49aa8d17b2f2aedb3
Great, thanks for working on this!
Is it ok if I file some tickets for a couple of other things, or should I wait and let you do what you have in mind?
—Paul
On Aug 10, 2015, at 10:31 AM, Seppe vanden Broucke notifications@github.com wrote:
Should now be improved thanks to buffering the outputstream in the interpreters, see commit c007350 https://github.com/Jycraft/jycraft-server-plugin/commit/c007350dc5f2532b023609a49aa8d17b2f2aedb3 — Reply to this email directly or view it on GitHub https://github.com/Jycraft/jycraft-server-plugin/issues/2#issuecomment-129475023.
Go for it, this is a good way for me to work on/keep track of things!
When using the existing jycraft-web websocket client (and my Angular websocket client), if I send over something to be evaluated after login, the results get received one character at a time.
That is, if I do:
print 'abcdef'
...in the ACE editor and console.debug the .onMessage handler, I see that each character in the string is a different onMessage event.
Here is, I believe, the relevant code snippet: