Skip to content

RedisClientLike

Defined in: packages/pipeline-idempotency/src/stores/redis.store.ts:34

Minimal structural shape of a node-redis client (redis v4 or later). Declared locally so this package does not hard-depend on redis — a real client satisfies it. Add it in your app: pnpm add redis.

set must support the NX (set-if-absent) and PX (ms TTL) options and return null when NX prevented the write. eval is used for atomic owner-aware completion/release transitions.

del(key): Promise<number>

Defined in: packages/pipeline-idempotency/src/stores/redis.store.ts:41

string

Promise<number>


eval(script, options): Promise<unknown>

Defined in: packages/pipeline-idempotency/src/stores/redis.store.ts:42

string

string[]

string[]

Promise<unknown>


get(key): Promise<string | null>

Defined in: packages/pipeline-idempotency/src/stores/redis.store.ts:35

string

Promise<string | null>


set(key, value, options?): Promise<string | null>

Defined in: packages/pipeline-idempotency/src/stores/redis.store.ts:36

string

string

boolean

number

Promise<string | null>