0

When Functions app is idle for some tinme, it will be moved to cold state.

Is there a mechanism of notification when it starts to transit to code state?

Pingpong
  • 7,681
  • 21
  • 83
  • 209

1 Answers1

1

For now no relevant notification could be used. However in this issue, mathewc mentioned they are adding some APIs about getting the function status, if the status includes the idle, your requirement would be achieved.

Even though, you could control the timeout duration or enable the Always On. If you want to set the timeout duration, follow this or set like this below.

{
    "functionTimeout": "00:05:00"
}
George Chen
  • 13,703
  • 2
  • 11
  • 26