You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
568 B
568 B
Command Options
⚠️ The command options API in v5 has breaking changes from the previous version. For more details, refer to the v4-to-v5 guide.
TODO: "proxy client" concept
Type Mapping
TODO RESP
withTypeMapping
await client.get('key'); // `string | null`
const proxyClient = client.withTypeMapping({
[TYPES.BLOB_STRING]: Buffer
});
await proxyClient.get('key'); // `Buffer | null`
Abort Signal
TODO
withAbortSignal
ASAP
TODO
asap
withCommandOptions
TODO