spee.ch/react/sagas/index.js

16 lines
467 B
JavaScript
Raw Normal View History

2018-02-06 21:55:04 -08:00
import { all } from 'redux-saga/effects';
2018-02-08 14:17:03 -08:00
import { watchNewAssetRequest, watchNewChannelRequest } from './request';
import { watchFileIsRequested } from './file';
import { watchShowNewChannel } from './show_channel';
import { watchShowNewAsset } from './show_asset';
2018-02-06 19:00:52 -08:00
export default function* rootSaga () {
yield all([
2018-02-07 13:26:07 -08:00
watchNewAssetRequest(),
2018-02-07 23:02:57 -08:00
watchNewChannelRequest(),
2018-02-08 14:17:03 -08:00
watchShowNewAsset(),
watchShowNewChannel(),
2018-02-06 21:55:04 -08:00
watchFileIsRequested(),
2018-02-06 19:00:52 -08:00
]);
}