type Config struct {
Name string NoWorkBackOff backoff.BackOff
MaxWorkTime time.Duration// WorkFunc should return ErrShouldBackoff if it wants the loop to begin backing off WorkFunc func(ctx context.Context) error// contains filtered or unexported fields
}