code: func (cfg *dynamicTLSConfig) notify() {
  	if cfg.readyCh != nil && cfg.leaf != nil && cfg.roots != nil && cfg.leaf.Leaf != nil {
  		close(cfg.readyCh)
  		cfg.readyCh = nil
  	}
  }
docs: // notify is called under lock during an update to check if we are now ready.