shutdownHook property
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;
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.
ShutdownHook? shutdownHook;