score:1

Accepted answer

you're callback function in the settimeout is not a generator function. hence, you cannot use yield within it.

 settimeout(function *() {

        yield put(showpermissionsneededwall('please log in', null));
        readtimeloginboxshown();

      }, 1000 * show_login_wall_after_in_seconds);

should be able to help you


Related Query

More Query from same tag