code: func NewManagedHandle(
  	resourceLocation string,
  	handle interface{},
  	pool ResourcePool,
  	options Options) ManagedHandle {
  
  	h := &managedHandleImpl{
  		location: resourceLocation,
  		handle:   handle,
  		pool:     pool,
  		options:  options,
  	}
  	atomic.StoreInt32(&h.isActive, 1)
  
  	return h
  }
docs: // This creates a managed handle wrapper.