Skip to content

Instantly share code, notes, and snippets.

@productioncoder
Last active December 18, 2018 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save productioncoder/e984ae276807a2fc52dccd76aee0a891 to your computer and use it in GitHub Desktop.
Save productioncoder/e984ae276807a2fc52dccd76aee0a891 to your computer and use it in GitHub Desktop.
Youtube root saga with watchDetails watcher saga
import {all, call, put, fork} from 'redux-saga/effects';
import {watchMostPopularVideos, watchMostPopularVideosByCategory, watchVideoCategories} from './video';
import {watchWatchDetails} from './watch';
export default function* () {
yield all([
fork(watchMostPopularVideos),
fork(watchVideoCategories),
fork(watchMostPopularVideosByCategory),
fork(watchWatchDetails)
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment