Rocket.Chat.ReactNative/app/sagas/index.js

31 lines
674 B
JavaScript

import { all } from 'redux-saga/effects';
import login from './login';
import rooms from './rooms';
import room from './room';
import messages from './messages';
import selectServer from './selectServer';
import createChannel from './createChannel';
import init from './init';
import state from './state';
import deepLinking from './deepLinking';
import inviteLinks from './inviteLinks';
import createDiscussion from './createDiscussion';
const root = function* root() {
yield all([
init(),
createChannel(),
rooms(),
room(),
login(),
messages(),
selectServer(),
state(),
deepLinking(),
inviteLinks(),
createDiscussion()
]);
};
export default root;