1

I would like to do some clean up of resources (e.g. remove of subscriptions) before entirely shutting down of the Azure function app.

Is there any provider to listen to shutdown events of the host of Azure function app? I can only find the startup file for dependency injection.

chiaDev
  • 389
  • 3
  • 17

1 Answers1

0

For C# Class Library functions, Cancellation Tokens are supported but the other languages don't have anything similar AFAIK.

PramodValavala
  • 6,026
  • 1
  • 11
  • 30