Skip to content

Instantly share code, notes, and snippets.

@productioncoder productioncoder/video.js
Last active Dec 17, 2018

Embed
What would you like to do?
Youtube most popular videos by category watcher
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
You can’t perform that action at this time.