( parser: CommandParser, keys: RedisVariadicArgument, side: ListSide, options?: LMPopOptions )
| 7 | } |
| 8 | |
| 9 | export function parseLMPopArguments( |
| 10 | parser: CommandParser, |
| 11 | keys: RedisVariadicArgument, |
| 12 | side: ListSide, |
| 13 | options?: LMPopOptions |
| 14 | ) { |
| 15 | parser.pushKeysLength(keys); |
| 16 | parser.push(side); |
| 17 | |
| 18 | if (options?.COUNT !== undefined) { |
| 19 | parser.push('COUNT', options.COUNT.toString()); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | export type LMPopArguments = Tail<Parameters<typeof parseLMPopArguments>>; |
| 24 |
no test coverage detected