Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunConcurrentlyUntil ¶
func RunConcurrentlyUntil(stopCh <-chan struct{}, funcs ...StoppableFunc)
RunConcurrentlyUntil runs several stoppable functions in parallel and blocks until all of them are executed.
Types ¶
type StoppableFunc ¶
type StoppableFunc func(<-chan struct{})
StoppableFunc is a type of function that blocks on run, but can be stopped via stop channel passed as an argument
Click to show internal directories.
Click to hide internal directories.