UNPKG

@valkey/client

Version:

The source code and documentation for this package are in the main [node-redis](https://github.com/redis/node-redis) repo.

25 lines (24 loc) 870 B
import { ValkeyCommandArgument, ValkeyCommandArguments } from "."; export declare const FIRST_KEY_INDEX = 1; export declare const IS_READ_ONLY = true; export declare function transformArguments(key: ValkeyCommandArgument, group: ValkeyCommandArgument): ValkeyCommandArguments; type XPendingRawReply = [ pending: number, firstId: ValkeyCommandArgument | null, lastId: ValkeyCommandArgument | null, consumers: Array<[ name: ValkeyCommandArgument, deliveriesCounter: ValkeyCommandArgument ]> | null ]; interface XPendingReply { pending: number; firstId: ValkeyCommandArgument | null; lastId: ValkeyCommandArgument | null; consumers: Array<{ name: ValkeyCommandArgument; deliveriesCounter: number; }> | null; } export declare function transformReply(reply: XPendingRawReply): XPendingReply; export {};