Question

Signal handling in functions [GoLang]

Hi, I am testing feature functions very intensively. In GoLang I am trying to handle function shutdown signals because I would like to save a snapshot to space before exiting. For my function, I keep data in memory, but I see the function sometimes shutting down my program.

Can functions handle program exit signals in gorutine?


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer