Firebase value delay challenge


#1

hi all.

i have a process that gets a firebase value and then perform a logic check on the value.
However am struggling to handle the delay after a firebase get value request.

If i run the program, the processing will yield no value due to the external lag time. i know a wait block is not possible due to the single threaded nature of the system.
If i set DO While value = empty loop, the program hangs.

any thoughts will be much appreciated.