verdnatura-chat/app/sagas/hello.js

15 lines
272 B
JavaScript
Raw Normal View History

2017-08-16 22:51:37 +00:00
import { take, fork } from 'redux-saga/effects';
const foreverAlone = function* foreverAlone() {
2017-08-16 23:29:12 +00:00
yield take('FOI');
console.log('FOIIIIIII');
2017-08-16 22:51:37 +00:00
yield take('voa');
console.log('o');
};
const root = function* root() {
yield fork(foreverAlone);
};
export default root;