Overlord Supreme
deno serve subcommand cleanup
deno serve
subcommand, what is the expected way to run cleanup function before the process is ended?
For example, I want to close a db connection on the unload
event but adding an event handler for it doesn't seem to work.SIGINT
not SIGTERM
🤦♂️1 replies