2017-09-21 17:08:00 +00:00
|
|
|
import { all } 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 02:06:22 +00:00
|
|
|
import rooms from './rooms';
|
2017-08-17 06:28:41 +00:00
|
|
|
import messages from './messages';
|
2017-08-18 21:30:16 +00:00
|
|
|
import selectServer from './selectServer';
|
2017-09-01 19:42:50 +00:00
|
|
|
import createChannel from './createChannel';
|
2017-08-21 03:00:41 +00:00
|
|
|
import init from './init';
|
2017-11-28 11:01:18 +00:00
|
|
|
import state from './state';
|
2017-08-17 00:24:06 +00:00
|
|
|
|
|
|
|
const root = function* root() {
|
2017-09-21 17:08:00 +00:00
|
|
|
yield all([
|
|
|
|
init(),
|
|
|
|
createChannel(),
|
|
|
|
hello(),
|
|
|
|
rooms(),
|
|
|
|
login(),
|
|
|
|
connect(),
|
|
|
|
messages(),
|
2017-11-28 11:01:18 +00:00
|
|
|
selectServer(),
|
|
|
|
state()
|
2017-09-21 17:08:00 +00:00
|
|
|
]);
|
2017-08-17 00:24:06 +00:00
|
|
|
};
|
|
|
|
// Consider using takeEvery
|
|
|
|
export default root;
|