Skip to content


Implement `socket.write` callback for all transports #136

rauchg opened this Issue · 4 comments

2 participants

socket.write('aa', function(){
  // 'aa' flushed

You mean the ability to listen to a callback for when socket.write occurs?


Yep. This would vary by transport. For example, polling we would do upon the 200 response from the POST.


So, for example, on polling-jsonp.js, you'd fire a writeComplete (or something) event inside:

function complete () {


@rauchg rauchg closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.