@demobook/server
Version:
## Setup
14 lines (12 loc) • 345 B
text/typescript
import { all, fork } from 'redux-saga/effects';
import { demosProcess } from './demos';
import { streamProcess } from './steam';
import { pipelinesProcess } from './pipelines';
/**
* Root for saga
*/
export function* rootSaga() {
yield all([fork(demosProcess)]);
yield all([fork(streamProcess)]);
yield all([fork(pipelinesProcess)]);
}