Shutdown bot as callable or runnable
Issue #641
resolved
No description provided.
Comments (4)
-
-
reporter in NuBotBase there is now a callable for Startup and Shutdown. These calls are then used a futures. Futures have isDone function. This way one can either wait for completion or continue right away. Perhaps a bit cleaner is to have both procedures as runnable.
class StartupBotProcedure implements Callable<Boolean> {
class ShutdownBotProcedure implements Callable<Boolean> {
-
Ok, make sure there are no overlaps/conflicts with com.nubits.nubot.launch.ShutDownProcess
public class ShutDownProcess implements Runnable {
-
reporter - changed status to resolved
- Log in to comment
It is already a runnable, at least the Global shutdown ( I changed that yesterday with the "kill" button PR )