[commands] Add idle command (#5555)

This commit is contained in:
Shai Grossman
2023-08-29 23:00:40 +03:00
committed by GitHub
parent 67043a8eeb
commit 52297ffe29
3 changed files with 21 additions and 0 deletions

View File

@@ -31,6 +31,14 @@ namespace cmd {
[[nodiscard]]
CommandPtr None();
/**
* Constructs a command that does nothing until interrupted.
*
* @return the command
*/
[[nodiscard]]
CommandPtr Idle();
// Action Commands
/**