which works perfectly for a “static” variable which corresponds to a precise node.
but it doesn’t work anymore when I have to probe different child nodes (whose quantity is variable) of a parent folder
can we combine it with these blocks?
there is no solid date yet, but we do plan to reintroduce the listeners in DnD. I would imagine if we hear this is causing a lot of disturbance for users it may be prioritized.
I haven’t tried it yet, but i wonder how well this may work for people
Essentially you could copy your cloud variables bucket that you want to listen to into a local variable
I have a timer set to fire every 3 seconds. when it fires it checks if my local version matches the cloud version and if not, it updates the local version. This is not the same as what the firebase listener blocks do, but is similar and may function as a workaround until we have a better solution.
I’m so curious if this method is faster or slower than updating individual variables with individual Firebase values, which is what I’m doing for my Next Letter game/chat app. My guess is since Firebase is JSON based, it’s faster to transfer the whole database at one time. It’s also fewer reads from the Firebase database which is important because their limit is not that high.
Hmm, I thought I read there was a limit of 1,000 read calls per second. But now that I look at their Realtime Database limits, it’s more like 100,000. I don’t have to worry about those kinds of numbers. I was hesitant to have my “listener” check Firebase more than once per second but maybe I’ll make it more frequent now.