@earth-app/collegedb
    Preparing search index...

    Interface RedisLikeClient

    Minimal Redis/Valkey client contract used by the KV adapter.

    interface RedisLikeClient {
        del(key: string): unknown;
        get(key: string): Promise<string | null>;
        scan(
            cursor: string,
            ...args: any[],
        ): RedisScanResult | Promise<RedisScanResult>;
        set(key: string, value: string): unknown;
    }
    Index

    Methods

    Methods

    • Parameters

      • key: string

      Returns Promise<string | null>

    • Parameters

      • cursor: string
      • ...args: any[]

      Returns RedisScanResult | Promise<RedisScanResult>

    • Parameters

      • key: string
      • value: string

      Returns unknown