+ promises? i got an issue using async that im sending and ajax request for logout an user. this request returns nothing. so the promise result should not need a parameter (lets call it user). and i need to the UI awaits for the request to follow the auth flow. hope can find help here :)!
You should not do this but you can just abuse setInterval
Why not just use promises without generators?
ajaxPromise(url).then(resumeUI)
Обсуждают сегодня