Class CachedManager<Key, Holds, Resolvable>Abstract

Type Parameters

  • Key

  • Holds

  • Resolvable

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • Type Parameters

    • Key

    • Holds

    • Resolvable

    Parameters

    Returns CachedManager<Key, Holds, Resolvable>

Properties

_cache: Collection<Key, Holds>
client: Client<boolean>
holds: Constructable<Holds>

Accessors

  • get cache(): Collection<Key, Holds>
  • Returns Collection<Key, Holds>

Methods

  • Parameters

    • data: unknown
    • Optional cache: boolean
    • Optional __namedParameters: {
          extras: unknown[];
          id: Key;
      }
      • extras: unknown[]
      • id: Key

    Returns Holds

  • Parameters

    • resolvable: Holds

    Returns Holds

  • Parameters

    • resolvable: Resolvable

    Returns null | Holds

  • Parameters

    • resolvable: Key | Holds

    Returns Key

  • Parameters

    • resolvable: Resolvable

    Returns null | Key

Generated using TypeDoc