Skip to content

Instantly share code, notes, and snippets.

@emilbayes
Last active November 14, 2018 11:16
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 emilbayes/b1a07aa43d94256bdd7738090a394008 to your computer and use it in GitHub Desktop.
Save emilbayes/b1a07aa43d94256bdd7738090a394008 to your computer and use it in GitHub Desktop.
Streams stuff
  • do on readable then read
  • do framing
  • don't use data
  • check this.destroyed after each "Hand-off" (emit and push)
  • check stream.destroyed after all async operations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment