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
When executing this code while offline when never having executed this query/accessed this path before (so without any info for it in the cache), I expect the failure listener to be invoked, after the call to the server times out. Instead none of the callbacks is ever invoked, which means developers have to work around this condition with their own timeout mechanism.
The text was updated successfully, but these errors were encountered:
Hi @puf, thank you for filing the issue. I was able to reproduce the behavior where no callback is invoked. It makes sense to me to expect the failure listener to be invoked after the server call times out. I’ll inform our engineers about this and see what we can do here.
Any update on this? There's another similar bug that never times out when there is no data at the reference. I would expect a failure or a null value to return on success.
val ref = database.getReference("ref").get().await()
Context: https://stackoverflow.com/q/78117075
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Code:
When executing this code while offline when never having executed this query/accessed this path before (so without any info for it in the cache), I expect the failure listener to be invoked, after the call to the server times out. Instead none of the callbacks is ever invoked, which means developers have to work around this condition with their own timeout mechanism.
The text was updated successfully, but these errors were encountered: