I'm a bit confused regarding the behaviour of Saga:
export function* workerSaga() {
const result = yield call(api.getData);
yield put(action(result));
}
Given the concept of generators, i thought the generator should "exit the function" after each team it encounters a yield?
So how come if i call workSaga() it executes both yieldss?