Is there a simple way to schedule a cloud function to run in the future?
For example I'm making a game that is turn based. If a player doesn't act in time, say a time limit of 10 seconds then the turn should go to the next player.
Is there a simple way to schedule a cloud function to run in the future?
For example I'm making a game that is turn based. If a player doesn't act in time, say a time limit of 10 seconds then the turn should go to the next player.
You can try a pub/sub method which I think suits better for your needs. See related article here.