Last active
January 9, 2019 00:14
-
-
Save jsonberry/7eafd5f30106a078e2fbf56d2567bbb0 to your computer and use it in GitHub Desktop.
rxjs-toolkit examples
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
import { of } from 'rxjs'; | |
import { tapLog } from 'rxjs-toolkit'; | |
of('hello').pipe( | |
tapLog(), // log out whatever the signal is, so "hello" | |
tapLog('labelFoo') // give it a label, { labelFoo: "hello" } | |
).subscribe() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment