I am running a node app on Google Cloud functions. This gets triggered by a webhook on Github.
Once the webhook gets triggered, my Google Cloud Function starts its function:
Function execution started
Normally if nothing happens, the function will complete to execution: Function execution took 13 ms, finished with status code: 200
.
But if the webhook gets triggered again, then my Google Cloud function will abandon the function that was running and say Function execution started
.
Is there a way for me to queue my functions. Have a function finish to execution and then start the next?