Last active
December 17, 2018 14:05
-
-
Save productioncoder/e0ad1512ba20dbeb046473f82ee10d03 to your computer and use it in GitHub Desktop.
Youtube most popular videos by category watcher
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
export function* watchMostPopularVideosByCategory() { | |
while(true) { | |
const {categories} = yield take(videoActions.MOST_POPULAR_BY_CATEGORY[REQUEST]); | |
yield fork(fetchMostPopularVideosByCategory, categories); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment