Last active
December 7, 2018 13:34
-
-
Save jfet97/4bd980115d5e8f58144bd40256be7076 to your computer and use it in GitHub Desktop.
ex4
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 { pipe } = require('agh'); | |
(async function IIAFE() { | |
// pipe(inputStream, outputStream [, ...asyncGenerators]); | |
// it returns the outputStream | |
await pipe(misteriousStream, process.stdout, onlyOddPleaseGen, plusOneGen); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment