Lets say I have a function app
that contains 5 azure functions
. In visual studio
I have these functions as classes but they use some static
helper methods (to avoid code duplicate). In these helper methods I have kind of lockers to make sure that a specific order gets executed in each function. Now my question is, do all these 5 functions share the same state of these helper static methods? Or does each function run in an isolated context?
I want the functions to run in parallel, so i don't want them to get blocked by each other.
The azure functions are not statis in my case, like this:
[FunctionName("Function1")]
public async Task Run([BlobTrigger("sample/{name}", Connection = "ConnectinoString")] Stream myBlob, string name, ILogger logger)