Created
April 27, 2012 03:04
-
-
Save chilts/2505347 to your computer and use it in GitHub Desktop.
All the Streams!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// instead of ... | |
var writestream = new stream.Stream() | |
writestream.writable = true | |
var readstream = new stream.Stream() | |
readstream.readable = true | |
// wish we could do | |
var writestream = new stream.WritableStream() | |
var readstream = new stream.ReadableStream() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment