func WithProgressBar(pb ProgressBar) DownloadOption {
	return func(options *downloadOptions) {
		options.progressBar = pb
	}
}
// WithProgressBar sets the channel on the option.
WithProgressBar sets the channel on the option.
// WithProgressBar sets the channel on the option .
func WithProgressBar(pb ProgressBar) DownloadOption {
	return func(options *downloadOptions) {
		options.progressBar = pb
	}
}
func WithProgressBar ( pb ProgressBar ) DownloadOption { return func ( options * downloadOptions ) { options . progressBar = pb } }
WithProgressBar sets the channel on the option.
WithProgressBar sets the channel on the option .