revbot.js
    Preparing search index...

    Class BaseManager<Holds, R>Abstract

    Type Parameters

    • Holds extends { id: string }
    • R = unknown

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    cache: Map<string, Holds> = ...

    Insertion ordered cache of items this manager holds.

    holds: null | (new (...args: any[]) => Holds)
    Holds: any
    defaultMaxSize: number = -1

    Shared default max size for all managers (can be changed globally).

    Methods