func WithReload(shouldReload bool) ProvidersOptionFunc {
	return func(options *providersOption) {
		options.reloadable = shouldReload
	}
}
WithReload toggles whether the factory should reload cached instances upon
OnReload event.
package otmongo
import "go.mongodb.org/mongo-driver/mongo/options"
type MongoConfigInterceptor func(name string, clientOptions *options.ClientOptions)
type providersOption struct {
	interceptor MongoConfigInterceptor
	reloadable  bool
}
type ProvidersOptionFunc func(options *providersOption)
func WithConfigInterceptor(interceptor MongoConfigInterceptor) ProvidersOptionFunc {
	return func(options *providersOption) {
		options.interceptor = interceptor
	}
}