Created
June 23, 2020 09:27
-
-
Save lancetw/9d1f6ddec217d4e752db250b5c3024c1 to your computer and use it in GitHub Desktop.
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
this.query = (filter: Filter) => | |
Observable.from( | |
this.api.getData(filter).switchMap((res) => { | |
this.setData(res) | |
}) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment