6.2 Resource

All resource objects can be compared and hashed, so they can be used as mapping indices. They also have this method:

Method on Resource: kill_client ( onerror = None )