func (c *Custodian) RemoveAll() []CustodyPair {
	c.lock.Lock()
	defer c.lock.Unlock()
	c.timer.Stop()
	m := c.syncElements()
	c.requests = make(map[string]*custody)
	c.seq = nil
	return m
}
// RemoveAll deletes all objects from custody.  No callbacks will be
// invoked.  RemoveAll returns all objects that have been under
// custody.
RemoveAll deletes all objects from custody.  No callbacks will be
invoked.  RemoveAll returns all objects that have been under
custody.
// RemoveAll deletes all objects from custody . No callbacks will be // invoked . RemoveAll returns all objects that have been under // custody .
func (c *Custodian) RemoveAll() []CustodyPair {
	c.lock.Lock()
	defer c.lock.Unlock()
	c.timer.Stop()
	m := c.syncElements()
	c.requests = make(map[string]*custody)
	c.seq = nil
	return m
}
func ( c * Custodian ) RemoveAll ( ) [ ] CustodyPair { c . lock . Lock ( ) defer c . lock . Unlock ( ) c . timer . Stop ( ) m := c . syncElements ( ) c . requests = make ( map [ string ] * custody ) c . seq = nil return m }
RemoveAll deletes all objects from custody.
RemoveAll deletes all objects from custody .