Discord Player

QueryCache

No description provided

QueryCache implements QueryCacheProvider<Track>

new QueryCache(player, options);
ParameterTypeOptional
playerPlayer
optionsQueryCacheOptions

Properties

public options: any

public player: any

public timer: any

public checkInterval: any

Methods

public addData(data): Promise<void>

ParameterTypeOptional
dataSearchResult

public cleanup(): Promise<void>

public clear(): Promise<void>

public getData(): Promise<Array<DiscordPlayerQueryResultCache<Track<unknown>>>>

public resolve(context): Promise<SearchResult>

ParameterTypeOptional
contextQueryCacheResolverContext

On this page