2017-08-17 01:06:31 +00:00
|
|
|
import { fork } from 'redux-saga/effects';
|
2017-08-17 00:24:06 +00:00
|
|
|
import hello from './hello';
|
|
|
|
import login from './login';
|
2017-08-17 01:06:31 +00:00
|
|
|
import connect from './connect';
|
2017-08-17 00:24:06 +00:00
|
|
|
|
|
|
|
const root = function* root() {
|
|
|
|
yield fork(hello);
|
|
|
|
yield fork(login);
|
2017-08-17 01:06:31 +00:00
|
|
|
yield fork(connect);
|
2017-08-17 00:24:06 +00:00
|
|
|
};
|
|
|
|
// Consider using takeEvery
|
|
|
|
export default root;
|