BaseManager interface
A base for any manager classes.
Signature:
export interface BaseManager<T>
Properties
client
The client this manager is being used by.
Type: Client
Methods
.fetch ()
The method to actually fetch the data.
Signature:
fetch(id: any, options?: FetchOptions): Promise<T>;
Parameters:
Parameter | Type | Description |
---|---|---|
id | any | The ID of the data entity being fetched. |
options | FetchOptions | Basic fetch options, setting the force option to true must ignore the cache. |
Return type: Promise < T >