'how to make Azure Function using Blob Trigger await until the all files is loaded completely to the container in Azure?

I'm using Azure function application and I'm using 5 or 6 blob trigger function in my project, I publish my project to azure and I need the function app to be executed after all the files is loaded completely to the container because some files in the input need to be executed before other files ! any idea ?



Solution 1:[1]

This is more of an architecture question than a code question but one way to solve this is to have one function that checks for all the files as they trigger and once it is happy that all files is there places a message to a event HUB that a receiver picks up and then processes the files or you can do it all in one function just have to have it check for all the files it eneds before trying to use them, or you can use a wide variety of other services in azure to achieve the same thing, but without showing us what you have tried and any specific error messages it is hard to give detailed advice

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Matt Douhan