func (p *pool) connectionInitFunc() interface{} {
	c, _, err := p.makeNewConnection(context.Background())
	if err != nil {
		return nil
	}

	go c.connect(context.Background())

	return c
}
// connectionInitFunc returns an init function for the resource pool that will make new connections for this pool
connectionInitFunc returns an init function for the resource pool that will make new connections for this pool
// connectionInitFunc returns an init function for the resource pool that will make new connections for this pool
func (p *pool) connectionInitFunc() interface{} {
	c, _, err := p.makeNewConnection(context.Background())
	if err != nil {
		return nil
	}
	go c.connect(context.Background())
	return c
}
func ( p * pool ) connectionInitFunc ( ) interface { } { c , _ , err := p . makeNewConnection ( context . Background ( ) ) if err != nil { return nil } go c . connect ( context . Background ( ) ) return c }
connectionInitFunc returns an init function for the resource pool that will make new connections for this pool
connectionInitFunc returns an init function for the resource pool that will make new connections for this pool