code: func NewRef(ctx fab.ClientContext, pvdr Provider, channel string, opts ...options.Opt) *Ref {
  	params := newDefaultParams()
  	options.Apply(params, opts)
  
  	cfgRef := &Ref{
  		pvdr:       pvdr,
  		ctx:        ctx,
  		channelID:  channel,
  		errHandler: params.errHandler,
  	}
  
  	cfgRef.Reference = lazyref.New(
  		cfgRef.initializer(),
  		lazyref.WithRefreshInterval(lazyref.InitImmediately, params.refreshInterval),
  	)
  
  	return cfgRef
  }
docs: // NewRef returns a new channel config reference