Class Cacher<T>

Type Parameters

  • T extends "memory" | "disk"

Constructors

Accessors

Methods

Constructors

  • Type Parameters

    • T extends "memory" | "disk"

    Parameters

    • __namedParameters: { type: T }

    Returns Cacher<T>

Accessors

  • get map(): Map<string, T extends "memory" ? PathLike | Buffer : PathLike>
  • Returns Map<string, T extends "memory" ? PathLike | Buffer : PathLike>

Methods

  • Parameters

    • metaData: Track<"SoundCloud" | "LocalFile" | "Url" | "Youtube" | "Spotify">
    • stream: Readable

    Returns Promise<void>