func (c *Custodian) Remove(id string) bool {
	c.lock.Lock()
	defer c.lock.Unlock()
	obj, ok := c.requests[id]
	if ok {
		delete(c.requests, id)
		obj.canceled = true
		obj.data = nil
	}
	return ok
}
// Remove removes an object from custody.  No callback will be invoked
// on this object anymore.
Remove removes an object from custody.  No callback will be invoked
on this object anymore.
// Remove removes an object from custody . No callback will be invoked // on this object anymore .
func (c *Custodian) Remove(id string) bool {
	c.lock.Lock()
	defer c.lock.Unlock()
	obj, ok := c.requests[id]
	if ok {
		delete(c.requests, id)
		obj.canceled = true
		obj.data = nil
	}
	return ok
}
func ( c * Custodian ) Remove ( id string ) bool { c . lock . Lock ( ) defer c . lock . Unlock ( ) obj , ok := c . requests [ id ] if ok { delete ( c . requests , id ) obj . canceled = true obj . data = nil } return ok }
Remove removes an object from custody.
Remove removes an object from custody .