My goal is to execute the forked function inside map.
Here's what I've tried:
function* doSomethingWithItem(item) {}
yield all(items.map(item => {
// ... some item checking
return fork(doSomethingWithItem, item);
}));
Tried also using yield fork() but got an error "yield is a reserved word..."
doSomethingWithItem() isn't called.
Appreciate the help.