spee.ch/client/src/sagas/rootSaga.js

28 lines
1 KiB
JavaScript
Raw Normal View History

2018-05-23 04:06:37 +02:00
import { all } from 'redux-saga/effects';
import { watchHandleShowPageUri } from './show_uri';
import { watchNewAssetRequest } from './show_asset';
import { watchNewChannelRequest, watchUpdateChannelClaims } from './show_channel';
import { watchFileIsRequested } from './file';
import { watchPublishStart } from './publish';
import { watchUpdateClaimAvailability } from './updateClaimAvailability';
import { watchUpdateChannelAvailability } from './updateChannelAvailability';
import { watchChannelCreate } from './createChannel';
import { watchChannelLoginCheck } from './checkForLoggedInChannel';
import { watchChannelLogout } from './logoutChannel';
export function * rootSaga () {
yield all([
watchHandleShowPageUri(),
watchNewAssetRequest(),
watchNewChannelRequest(),
watchUpdateChannelClaims(),
watchFileIsRequested(),
watchPublishStart(),
watchUpdateClaimAvailability(),
watchUpdateChannelAvailability(),
watchChannelCreate(),
watchChannelLoginCheck(),
watchChannelLogout(),
]);
}