annotations-design-patterns
    Preparing search index...

    Interface CacheHandle

    interface CacheHandle {
        invalidate(key: string): void;
        clear(): void;
    }
    Index
    • Removes one logical cache key. Pending consumers keep their own result.

      Parameters

      • key: string

      Returns void