Async RTDB Get #650
-
Hey again, is there something along the lines of an 'async get' in this library? Or a way to accomplish something similar? My program sometimes needs to get a couple fields from the database, but when a retrieval fails, it freezes up the entire program for a minute while the request times out. In my case, it's fine if it fails to get the data. I just can't have it prevent the rest of the program from running in the meantime. I need it to be able to recover more gracefully. In other words, is there a way to set the timeout of a get operation? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There is no async get in this library. You have to set the buffer size to fit your data in case of read time out. |
Beta Was this translation helpful? Give feedback.
There is no async get in this library.
You have to set the buffer size to fit your data in case of read time out.
Firebase-ESP-Client/examples/RTDB/Basic/Basic.ino
Line 123 in c382967