STT + Cloud Function + Cloud Task
With Cloud Tasks, you first create a queue, optionally configure it, then add tasks to the queue using the provided SDK. An individual task can be configured to make an HTTP request with a payload that describes the work to be done. I like to think of the HTTP function as a kind of โ€œfuture callbackโ€ that receives instructions on what to do at the time it was invoked.
How to schedule a Cloud Function to run in the future (in order to build a Firestore document TTL)
Copy link