Setu-TS
    Preparing search index...

    Interface IRedisIdempotencyClient

    The minimal Redis client surface the Redis store needs. A real ioredis Redis instance is assignable to it with no cast.

    0.9.0

    interface IRedisIdempotencyClient {
        call(command: string, ...args: (string | number)[]): Promise<unknown>;
        eval(
            script: string,
            numkeys: number,
            ...args: (string | number)[],
        ): Promise<unknown>;
        ping(): Promise<string>;
        quit(): Promise<unknown>;
    }
    Index
    • Runs a raw command, e.g. call('CONFIG', 'GET', 'maxmemory-policy').

      Parameters

      • command: string
      • ...args: (string | number)[]

      Returns Promise<unknown>

    • Runs a Lua script, passing values only through numkeys and args.

      Parameters

      • script: string
      • numkeys: number
      • ...args: (string | number)[]

      Returns Promise<unknown>