daemonizable-command icon indicating copy to clipboard operation
daemonizable-command copied to clipboard

[Feature request] Add isShutdownRequested method

Open astronom opened this issue 2 years ago • 0 comments

I suppose it will be a good feature to add the ability for commands to check if a shutdown was requested, e.g. in finish iteration I have a code that should wait some time to the next iteration, but if I can check that command should be shut down so there is no reason to execute this code.

If You agree, I can make a PR

astronom avatar Mar 30 '22 08:03 astronom