package
2.3.10
Repository: https://github.com/innogames/slack-bot.git
Documentation: pkg.go.dev

# Functions

AddRunningCommand registers a long running command, e.g.
CountCurrentJobs will return the number of current pending/queued jobs.
NewListCommand prints the list of all queued commands (blocking commands like running Jenkins jobs).
NewQueueCommand is able to execute a command when another blocking process is done e.g.
WaitTillHavingNoQueuedMessage will wait in test context until all background tasks are done.

# Structs

RunningCommand is a wrapper to sync.WaitGroup to control the behavior of a running command: - when the command is done, call the Done() method - listener can register via Wait() method which is blocking until command is done.