// StopCh returns a channel that is closed once the provider is stopped.

StopCh returns a channel that is closed once the provider is stopped.
// StopCh returns a channel that is closed once the provider is stopped .
func (p *Provider) StopContext() context.Context {
	p.stopOnce.Do(p.stopInit)
	p.stopMu.Lock()
	defer p.stopMu.Unlock()
	return p.stopCtx
}
func ( p * Provider ) StopContext ( ) context . Context { p . stopOnce . Do ( p . stopInit ) p . stopMu . Lock ( ) defer p . stopMu . Unlock ( ) return p . stopCtx }
StopCh returns a channel that is closed once the provider is stopped.
StopCh returns a channel that is closed once the provider is stopped .