Is it possible to run the code when running the Hub function?
1 answer
Considering that you are using precompiled C # functions, you can put your initialization code in a static constructor:
public static class MyFunctionApp
{
static MyFunctionApp()
{
// Runs once when class is first loaded
}
public void Run([SomeTrigger] input)
{
// Runs on each event
}
}
+5
source to share