export abstract class DataManager<Key, Holds, Resolvable> extends BaseManager
Manages the API methods of a data model along with a collection of instances.
Constructors
client: Client<true>holds: Constructable<Holds>)
constructor(client: Client<true>
holds: Constructable<Holds>
Constructs a new instance of the DataManager
class
Type Parameters
Key
Holds
Resolvable
readonlyCollection<Key, Holds> cache :
The cache of items for this manager.
readonlyConstructable<Holds> holds :
The data structure belonging to this manager.