shutdownHook property

ShutdownHook? shutdownHook
read / write

Hook executed when disposing bots process.

Most likely by when process receives SIGINT (*nix) or SIGTERM (*nix and windows). Not guaranteed to be completed or executed at all.

Implementation

ShutdownHook? shutdownHook;