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:

ParameterTypeDescription
idanyThe ID of the data entity being fetched.
optionsFetchOptionsBasic fetch options, setting the force option to true must ignore the cache.

Return type: Promise < T >