I'm having situation where i need one instance of a object shared between multiple instances of Azure Function. Reason for this is that object internally is saving some state that I need, it is external library so I need to use it, no workaround around it. Is this possible somehow with durable Azure functions? To have one function which would be triggered by queue trigger or http trigger and that function would have that singleton instance, and call regular azure functions? When would that "main" function be shut down then?
Cheers