Google Cloud Functions: Edit Firebase Node At A Specific Time
So the area of interest in my Firebase database is as follows: root -requests - - requestValid: - requestExpiry
Solution 1:
There's currently no way to keep a function waiting for an arbitrarily long amount of time. Functions will be terminated after their configured timeout (9 minutes max). Also, there is currently no way to schedule the execution of a function after some delay. You'd need to write something using some other backend component to "long poll" the value for a change and react as needed.
It's a common request to have some sort of built-in scheduling mechanism for functions, and the Cloud Functions team is looking into that.
Baca Juga
- Firebase Functions - Iterate Entries And Send Notification For Certain Conditions
- Firebase Firestore And Cloud Storage: Deleting Both A Db Entry And Its Associated File Can Result In One Being Actually Deleted, The Other Not
- How Can I Send Firebase Notifications Using Cloudfunctions On Firebase Database Datachange?
Post a Comment for "Google Cloud Functions: Edit Firebase Node At A Specific Time"