Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- value = false;
- call(subFunction);
- const { action } = yield race({
- action:
- value || take(someAction().type),
- _: delay(25000)
- })
- if(action) {
- console.log('udalo sie')
- }
- function* subFunction() {
- yield put(someAction);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement