spee.ch/react/sagas/index.js

17 lines
541 B
JavaScript
Raw Normal View History

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