I want to schedule a one-off function whenever a document is created in a certain collection. I know I can trigger a function via events. But I don't need to execute immediately after the event is fired. I just want to schedule it so that the execution will be in the future. Let's say I already have function named 'handleCreateEvent' that will be executed when a document is created. From that function execution, can we programmatically schedule another function?
TL;DR
Developers want to trigger a function when a document is created, but not immediately. They want to schedule it for future execution. They already have a 'handleCreateEvent' function. To solve this, you can use tools like Cloud Scheduler or Task Queues to trigger the desired function at a specified time in the future.