Skip to content
Prev Previous commit
Next Next commit
adding added date to the drain event
  • Loading branch information
Italo A. Casas committed Jun 13, 2016
commit 2a3041cbe51edb6239dfccc745aa50cfdc855ef5
3 changes: 3 additions & 0 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ that no more events will be emitted, and no further computation will occur.
Not all Writable streams will emit the `'close'` event.

##### Event: 'drain'
<!-- YAML
added: v0.9.4
-->

If a call to [`stream.write(chunk)`][stream-write] returns `false`, the
`'drain'` event will be emitted when it is appropriate to resume writing data
Expand Down