// WithInterval sets the check interval.
WithInterval sets the check interval.
// WithInterval sets the check interval .
func (m *TaskManager) WithInterval(interval time.Duration) *TaskManager {
	m.interval = interval
	return m
}
func ( m * TaskManager ) WithInterval ( interval time . Duration ) * TaskManager { m . interval = interval return m }
WithInterval sets the check interval.
WithInterval sets the check interval .