Skip to content

Instantly share code, notes, and snippets.

@chrisdickinson
Created July 18, 2014 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisdickinson/c29ba12b7f1a4fcc3539 to your computer and use it in GitHub Desktop.
Save chrisdickinson/c29ba12b7f1a4fcc3539 to your computer and use it in GitHub Desktop.
before opening stdin
STREAM 93214: read 0
STREAM 93214: need readable false
STREAM 93214: length less than watermark true
STREAM 93214: do read
NET 93214: _read
NET 93214: Socket._read readStart
STREAM 93214: resume
stdin opened
pausing stdin
STREAM 93214: call pause flowing=true
STREAM 93214: pause
opening again
STREAM 93214: resume
pausing again
STREAM 93214: call pause flowing=true
STREAM 93214: pause
should exit now
STREAM 93214: resume read 0
STREAM 93214: read 0
STREAM 93214: need readable true
STREAM 93214: length less than watermark true
STREAM 93214: do read
NET 93214: _read
NET 93214: Socket._read readStart
STREAM 93214: flow false
NET 93214: onread 2
NET 93214: got data
STREAM 93214: emitReadable false
STREAM 93214: emit readable
STREAM 93214: flow false
STREAM 93214: maybeReadMore read 0
STREAM 93214: read 0
STREAM 93214: need readable false
STREAM 93214: length less than watermark true
STREAM 93214: do read
NET 93214: _read
NET 93214: onread 2
NET 93214: got data
STREAM 93214: maybeReadMore read 0
STREAM 93214: read 0
STREAM 93214: need readable false
STREAM 93214: length less than watermark true
STREAM 93214: do read
NET 93214: _read
NET 93214: onread 2
NET 93214: got data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment