Last active
December 26, 2019 02:25
-
-
Save tytrdev/2c03190f5fb977f12156ded58f3bfcbb to your computer and use it in GitHub Desktop.
Medium code snipper
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
const duplex = new MyDuplexStream(numberOfBytes); | |
const writeStream = getWriteStreamSomehow(); | |
duplex.pipe(writeStream); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment