Azure / Azure/azure-functions-java-worker
Worker to notify Function upon its creation and destruction
Open
Enhancement
New Feature
reviewed
- Dominant language
- Java
- Stars
- 103
- Forks
- 74
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 2
Description
Developers should be allowed to be aware of when a Function is created, and when it is destroyed, to clean up resources (e.g. close DB connections; stop background processes; etc).
For Java functions, and I assume .NET, one can use the class constructor to be aware of when the Function is created, and perform a 'setup'. But the same does not happen for when the function is to be killed/removed/purged.
Contributor guide
Assessment
This issue has not been assessed yet.