I have a question about scheduled cloud functions with Firebase. I want to schedule a function that gets executed every x minutes.
After all necessary documents are loaded, an async function should be called for each existing document.
If these functions are asynchronous, can there be a timeout of the scheduledFunction? Is the whole time considered or can there be only timeouts for the individual async functions?
Thanks in advance
export scheduledFunction = functions.runWith( { memory: '2GB' }).pubsub.schedule('* * * * *').onRun(async context => {
// load all documents where x == y
// after completion (await): call async function for each document (function submits a HTTP POST request and gets response)
});