Mlpushx
Bun

method

RedisClient.lpushx

key: KeyLike,
value: KeyLike
): Promise<number>;

Prepend a value to a list, only if the list exists

@param key

The list key

@param value

The value to prepend

@returns

Promise that resolves with the length of the list after the push operation, or 0 if the list doesn't exist

Referenced types

type KeyLike = string | ArrayBufferView | Blob