Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoParallel ¶
Types ¶
type SleepWorker ¶
type SleepWorker struct {
// contains filtered or unexported fields
}
func NewSleepWorker ¶
func NewSleepWorker(fn func() bool, cfg SleepWorkerConfig) *SleepWorker
func (*SleepWorker) Start ¶
func (w *SleepWorker) Start()
func (*SleepWorker) Stop ¶
func (w *SleepWorker) Stop()
type SleepWorkerConfig ¶
Click to show internal directories.
Click to hide internal directories.