Collections of IResource.
Add a resource to a collection with an initial reference.
Resources are not removed from the the collection. They are autoGCed when there are no references.
Used for saving resource. Returns a visitor that will allow for a toJSON that will only save the resource that were accessed within the persist scope.
Returns the total items available.
Useful as a quick escape for search.
Collections of IResource.