Created
September 8, 2017 08:26
-
-
Save vshjxyz/e0c07823d495af40c828b820dbcd5108 to your computer and use it in GitHub Desktop.
Mutator-io transformer example
This file contains hidden or 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
mutator.transform('myPipeName', msg => `${msg} my transformation` as TransformStream) | |
mutator.transform('myPipeName', msg => Promise.resolve(`${msg} my transformation promise`) as TransformStream) | |
mutator.transform('myPipeName', msg => Observable.of(`${msg} my transformation observable`) as TransformStream) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment