Properties
Promise
Promise: PromiseConstructor
blpop
blpop: OverloadedBlockingListCommand<KeyType, [string, string]>
brpop
brpop: OverloadedBlockingListCommand<KeyType, [string, string]>
bzpopmax
bzpopmax: OverloadedBlockingListCommand<KeyType, [string, string, string]>
bzpopmin
bzpopmin: OverloadedBlockingListCommand<KeyType, [string, string, string]>
client
client: OverloadedSubCommand<ValueType, any>
cluster
cluster: OverloadedSubCommand<ValueType, any>
debug
debug: OverloadedSubCommand<ValueType, any>
del
del: OverloadedListCommand<KeyType, number>
eval
eval: OverloadedEvalCommand<ValueType, any>
evalsha
evalsha: OverloadedEvalCommand<ValueType, any>
geohash
geohash: OverloadedKeyCommand<string, string[]>
geopos
geopos: OverloadedKeyCommand<string, string[]>
hdel
hdel: OverloadedKeyCommand<KeyType, number>
hmget
hmget: OverloadedKeyCommand<KeyType, (null | string)[]>
hmset
hmset: OverloadedKeyedHashCommand<ValueType, "OK">
hscan
hscan: OverloadedKeyCommand<ValueType, [string, string[]]>
hset
hset: OverloadedKeyedHashCommand<ValueType, number>
lpush
lpush: OverloadedKeyCommand<ValueType, number>
lpushBuffer
lpushBuffer: OverloadedKeyCommand<Buffer, number>
lpushx
lpushx: OverloadedKeyCommand<ValueType, number>
mget
mget: OverloadedListCommand<KeyType, (null | string)[]>
migrate
migrate: OverloadedListCommand<ValueType, "OK" | "NOKEY">
mset
mset: OverloadedHashCommand<ValueType, "OK">
msetnx
msetnx: OverloadedHashCommand<ValueType, BooleanResponse>
object
object: OverloadedListCommand<ValueType, any>
pfadd
pfadd: OverloadedKeyCommand<string, number>
pfcount
pfcount: OverloadedListCommand<KeyType, number>
pfmerge
pfmerge: OverloadedKeyCommand<KeyType, "OK">
psubscribe
psubscribe: OverloadedListCommand<string, number>
punsubscribe
punsubscribe: OverloadedCommand<string, number>
restore
restore: OverloadedListCommand<ValueType, "OK">
rpush
rpush: OverloadedKeyCommand<ValueType, number>
rpushBuffer
rpushBuffer: OverloadedKeyCommand<Buffer, number>
rpushx
rpushx: OverloadedKeyCommand<ValueType, number>
sadd
sadd: OverloadedKeyCommand<ValueType, number>
script
script: OverloadedSubCommand<ValueType, any>
sdiff
sdiff: OverloadedListCommand<KeyType, string[]>
sdiffstore
sdiffstore: OverloadedKeyCommand<KeyType, number>
sinter
sinter: OverloadedListCommand<KeyType, string[]>
sinterstore
sinterstore: OverloadedKeyCommand<KeyType, number>
sort
sort: OverloadedListCommand<number | KeyType, number | string[]>
srem
srem: OverloadedKeyCommand<ValueType, number>
sscan
sscan: OverloadedKeyCommand<ValueType, [string, string[]]>
Readonly status
status: string
subscribe
subscribe: OverloadedListCommand<string, number>
sunion
sunion: OverloadedListCommand<KeyType, string[]>
sunionstore
sunionstore: OverloadedKeyCommand<KeyType, number>
unlink
unlink: OverloadedListCommand<KeyType, number>
unsubscribe
unsubscribe: OverloadedCommand<string, number>
watch
watch: OverloadedListCommand<KeyType, "OK">
xack
xack: OverloadedKeyCommand<ValueType, number>
xadd
xadd: OverloadedKeyCommand<ValueType, string>
xclaim
xclaim: OverloadedKeyCommand<ValueType, [string, string[]][]>
xdel
xdel: OverloadedKeyCommand<string, number>
xgroup
xgroup: OverloadedSubCommand<ValueType, "OK">
xinfo
xinfo: OverloadedSubCommand<ValueType, any>
xpending
xpending: OverloadedKeyCommand<ValueType, any>
xrange
xrange: OverloadedKeyCommand<ValueType, [string, string[]][]>
xread
xread: OverloadedListCommand<ValueType, [string, [string, string[]][]][]>
xreadgroup
xreadgroup: OverloadedKeyCommand<ValueType, [string, string[]][]>
xrevrange
xrevrange: OverloadedKeyCommand<ValueType, [string, string[]][]>
xtrim
xtrim: OverloadedKeyCommand<ValueType, number>
zadd
zadd: OverloadedKeyCommand<number | KeyType, string | number>
zinterstore
zinterstore: OverloadedKeyCommand<number | KeyType, number>
zrem
zrem: OverloadedKeyCommand<ValueType, number>
zscan
zscan: OverloadedKeyCommand<ValueType, [string, string[]]>
zunionstore
zunionstore: OverloadedKeyCommand<number | KeyType, number>
Static Cluster
Cluster: ClusterStatic
Static Command
Command: typeof Command
Subscribe to changes on a key.