# ResultManager
Manage API results methods and holds their cache
# Constructor
new ResultManager(client);
PARAMETER | TYPE | DESCRIPTION | OPTIONAL |
---|---|---|---|
client | Client | The client managing this | No |
# Properties
# cache
The group of cached result items mapped by their tokens
- Type: Group <ResultToken, TTSResult>
# client
The client managing this
- Type: Client
# Methods
# fetch(query)
Get all data about a model
PARAMETER | TYPE | DESCRIPTION | OPTIONAL |
---|---|---|---|
query | ResultToken | The result token | No |
# resolve(query)
Resolves a model data to a model object
PARAMETER | TYPE | DESCRIPTION | OPTIONAL |
---|---|---|---|
query | ResultResolvable | The text, token or audio path of the model | No |
- Return: TTSResult