Files
react-logo/frontend/src/sagas/root.js

14 lines
495 B
JavaScript
Raw Normal View History

2020-02-04 17:20:39 +01:00
import { all, takeLatest } from 'redux-saga/effects';
2020-02-19 12:21:04 +01:00
import { LOGIN_REQUEST } from '../actions/auth.actions';
import { loginSaga} from './auth.sagas';
2020-02-19 11:53:32 +01:00
import { PROJECT_USER_LIST, PROJECT_LIST } from '../actions/project';
import { projectUserListSaga, projectListSaga } from './project';
2020-02-04 17:20:39 +01:00
export default function* rootSaga() {
yield all([
2020-02-19 12:21:04 +01:00
takeLatest(LOGIN_REQUEST, loginSaga),
2020-02-19 11:53:32 +01:00
takeLatest(PROJECT_USER_LIST, projectUserListSaga),
takeLatest(PROJECT_LIST, projectListSaga),
2020-02-04 17:20:39 +01:00
]);
}