Skip to content

Instantly share code, notes, and snippets.

@chilts
Created October 4, 2012 00:40
Show Gist options
  • Select an option

  • Save chilts/3830819 to your computer and use it in GitHub Desktop.

Select an option

Save chilts/3830819 to your computer and use it in GitHub Desktop.
A short and sharp explanation of streams and events (in upcoming Node.js)

Streams

Readable Streams

Events:

  • end - once all data has been read and ...

Writable Streams

  • finish - all data has been written and flushed

Duplex Streams (both Readable and Writeable)

...

(Ends)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment