/opt/canhelp/node_modules/ioredis/built/utils
NameSizeModeActions
applyMixin.d.ts1830644editdlrm
applyMixin.js3900644editdlrm
argumentParsers.d.ts8100644editdlrm
argumentParsers.js24670644editdlrm
Commander.d.ts12520644editdlrm
Commander.js44260644editdlrm
debug.d.ts6140644editdlrm
debug.js26360644editdlrm
index.d.ts33030644editdlrm
index.js93290644editdlrm
lodash.d.ts1700644editdlrm
lodash.js3420644editdlrm
RedisCommander.d.ts4183400644editdlrm
RedisCommander.js2270644editdlrm
Edit: /opt/canhelp/node_modules/ioredis/built/utils/argumentParsers.d.ts (810B)
import { CommandParameter } from "../types"; /** * Parses a command parameter as seconds and converts to milliseconds. * @param arg - The command parameter representing seconds * @returns The value in milliseconds, 0 if value is <= 0, or undefined if parsing fails */ export declare const parseSecondsArgument: (arg: CommandParameter | undefined) => number | undefined; /** * Parses the BLOCK option from Redis command arguments (e.g., XREAD, XREADGROUP). * @param args - Array of command parameters to search for the BLOCK option * @returns The block duration in milliseconds, 0 if duration is <= 0, * null if BLOCK option is not found, or undefined if BLOCK is found but duration is invalid */ export declare const parseBlockOption: (args: CommandParameter[]) => number | null | undefined;