MCPcopy
hub / github.com/redis/ioredis / CommandOptions

Interface CommandOptions

lib/Command.ts:23–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 | (string | Buffer | number | any[])[];
22
23interface CommandOptions {
24 /**
25 * Set the encoding of the reply, by default buffer will be returned.
26 */
27 replyEncoding?: BufferEncoding | null;
28 errorStack?: Error;
29 keyPrefix?: string;
30 /**
31 * Force the command to be readOnly so it will also execute on slaves
32 */
33 readOnly?: boolean;
34}
35
36type ArgumentTransformer = (args: any[]) => any[];
37type ReplyTransformer = (reply: any) => any;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…