Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
max-mapper committed Apr 17, 2012
1 parent 69e6012 commit 8cd5614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream_notes.md
Expand Up @@ -42,7 +42,7 @@ then emit drain when ready
readstream.readable = true

readstream.on('data', function(data) {
var ready = writestream.bind(writestream)
var ready = writestream.write(data)
if (ready === false) {
this.pause()
writestream.once('drain', this.resume.bind(this))
Expand Down

0 comments on commit 8cd5614

Please sign in to comment.