You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to chain long processes but it wasn't working. All the long processes were returning deferredPromises.
I thought this was working not too long ago but the update to AndroidStudio 3.1 seems to have broken something. I was seeing pending promises fall through. It was something like.
renewToken() then {
getData()
} successUI {
broadcast update
}
The broad cast update was happening while getData was pending. I have worked around by doing:
all(renewToken(), getData()) successUI {
}
It appears though that the then is not working at all. Its just falling through. I had another case where this was falling through when trying to log out then show login screen when logout was complete.
The text was updated successfully, but these errors were encountered:
I was trying to chain long processes but it wasn't working. All the long processes were returning deferredPromises.
I thought this was working not too long ago but the update to AndroidStudio 3.1 seems to have broken something. I was seeing pending promises fall through. It was something like.
renewToken() then {
getData()
} successUI {
broadcast update
}
The broad cast update was happening while getData was pending. I have worked around by doing:
all(renewToken(), getData()) successUI {
}
It appears though that the then is not working at all. Its just falling through. I had another case where this was falling through when trying to log out then show login screen when logout was complete.
The text was updated successfully, but these errors were encountered: