@ipregistry/client
    Preparing search index...

    Interface IpregistryCache<V>

    interface IpregistryCache<V = IpregistryCacheValue> {
        get(key: string): V | undefined;
        invalidate(key: string): void;
        invalidateAll(): void;
        put(key: string, data: V): void;
    }

    Type Parameters

    Implemented by

    Index

    Methods

    • Parameters

      • key: string

      Returns V | undefined

    • Parameters

      • key: string

      Returns void

    • Parameters

      • key: string
      • data: V

      Returns void