Let's say I have something like this:
class event{
double timePassed;
void everySecond(){
timePassed +=1;
}
}
I would like the function everySecond to run every second on the firebase server so that User1 and User2 that just logged into the app will see the exact same timePassed value and the function would be able to be run even if the user isn't using the app.
Is it possible to do this using only Google's firebase?