Created
August 28, 2017 15:40
-
-
Save adrianfaciu/f39619b180b611c75e0738ab41aeb17f to your computer and use it in GitHub Desktop.
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
@Effect() | |
fetchDataWithDebounce$ = this.actions$ | |
.ofType(actions.DATA_WITH_DEBOUNCE_FETCH) | |
.debounceTime(100) | |
// Call API service or some other processing | |
.map(() => ({ type: actions.DATA_WITH_DEBOUNCE_FETCH_SUCCESS })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment