iya-sts
    Preparing search index...
    register: (
        descriptor: any,
    ) => {
        evicted: (n: any) => void;
        hit: () => void;
        miss: () => void;
        refused: () => void;
    } = register

    Type Declaration

      • (
            descriptor: any,
        ): {
            evicted: (n: any) => void;
            hit: () => void;
            miss: () => void;
            refused: () => void;
        }
      • Registers a cache or replay store's descriptor, replacing any earlier one of the same name.

        Parameters

        • descriptor: any

          the store's name, title, description, owner, scope, kind, maxEntries(), lifetime(), entries(), and optionally eject(), bound, settings, hitMeaning, persisted and counted

        Returns {
            evicted: (n: any) => void;
            hit: () => void;
            miss: () => void;
            refused: () => void;
        }

        the store's counter, as counter() answers

        an Error tagged STS-CORE-0094 when a required member is missing