Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CacheManager

Hierarchy

  • CacheManager

Implemented by

Index

Properties

Readonly local

local: Cache

Audio cache from local source

path

path: string

The base directory of the caches

Readonly soundcloud

soundcloud: Cache

Audio cache from soundcloud source

timeout

timeout: number

The timeout for deleting cache after inactivity

Readonly youtube

youtube: Cache

Audio cache from youtube source

Methods

Optional delete

  • delete(): void | Promise<void>

setPath

  • setPath(path: string): void

setTimeout

  • setTimeout(timeout: number): void
  • Set the cache deletion timeout of the caches

    Parameters

    • timeout: number

      The cache timeout

    Returns void

Generated using TypeDoc