diff --git a/documentation/bloom/interfaces/commands_bloom_INFO.InfoReply.html b/documentation/bloom/interfaces/commands_bloom_INFO.InfoReply.html index 2d5c7fc0a5..aeb94b4bc5 100644 --- a/documentation/bloom/interfaces/commands_bloom_INFO.InfoReply.html +++ b/documentation/bloom/interfaces/commands_bloom_INFO.InfoReply.html @@ -1 +1 @@ -InfoReply | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InfoReply

Index

Properties

capacity

capacity: number

expansionRate

expansionRate: number

numberOfFilters

numberOfFilters: number

numberOfInsertedItems

numberOfInsertedItems: number

size

size: number

Generated using TypeDoc

\ No newline at end of file +InfoReply | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InfoReply

Index

Properties

capacity

capacity: number

expansionRate

expansionRate: number

numberOfFilters

numberOfFilters: number

numberOfInsertedItems

numberOfInsertedItems: number

size

size: number

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/interfaces/commands_count_min_sketch_INFO.InfoReply.html b/documentation/bloom/interfaces/commands_count_min_sketch_INFO.InfoReply.html index cd69fa853c..489991467e 100644 --- a/documentation/bloom/interfaces/commands_count_min_sketch_INFO.InfoReply.html +++ b/documentation/bloom/interfaces/commands_count_min_sketch_INFO.InfoReply.html @@ -1 +1 @@ -InfoReply | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InfoReply

Index

Properties

Properties

count

count: number

depth

depth: number

width

width: number

Generated using TypeDoc

\ No newline at end of file +InfoReply | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InfoReply

Index

Properties

Properties

count

count: number

depth

depth: number

width

width: number

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/interfaces/commands_cuckoo.InsertOptions.html b/documentation/bloom/interfaces/commands_cuckoo.InsertOptions.html index d9536759cc..45cef55a66 100644 --- a/documentation/bloom/interfaces/commands_cuckoo.InsertOptions.html +++ b/documentation/bloom/interfaces/commands_cuckoo.InsertOptions.html @@ -1 +1 @@ -InsertOptions | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InsertOptions

Index

Properties

Optional CAPACITY

CAPACITY?: number

Optional NOCREATE

NOCREATE?: true

Generated using TypeDoc

\ No newline at end of file +InsertOptions | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InsertOptions

Index

Properties

Optional CAPACITY

CAPACITY?: number

Optional NOCREATE

NOCREATE?: true

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/interfaces/commands_cuckoo_INFO.InfoReply.html b/documentation/bloom/interfaces/commands_cuckoo_INFO.InfoReply.html index 1a36d9ff75..17754a6a94 100644 --- a/documentation/bloom/interfaces/commands_cuckoo_INFO.InfoReply.html +++ b/documentation/bloom/interfaces/commands_cuckoo_INFO.InfoReply.html @@ -1 +1 @@ -InfoReply | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InfoReply

Index

Properties

bucketSize

bucketSize: number

expansionRate

expansionRate: number

maxIteration

maxIteration: number

numberOfBuckets

numberOfBuckets: number

numberOfDeletedItems

numberOfDeletedItems: number

numberOfFilters

numberOfFilters: number

numberOfInsertedItems

numberOfInsertedItems: number

size

size: number

Generated using TypeDoc

\ No newline at end of file +InfoReply | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InfoReply

Index

Properties

bucketSize

bucketSize: number

expansionRate

expansionRate: number

maxIteration

maxIteration: number

numberOfBuckets

numberOfBuckets: number

numberOfDeletedItems

numberOfDeletedItems: number

numberOfFilters

numberOfFilters: number

numberOfInsertedItems

numberOfInsertedItems: number

size

size: number

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/interfaces/commands_top_k_INFO.InfoReply.html b/documentation/bloom/interfaces/commands_top_k_INFO.InfoReply.html index 561ddd1967..8352f1199a 100644 --- a/documentation/bloom/interfaces/commands_top_k_INFO.InfoReply.html +++ b/documentation/bloom/interfaces/commands_top_k_INFO.InfoReply.html @@ -1 +1 @@ -InfoReply | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InfoReply

Index

Properties

decay

decay: number

depth

depth: number

k

k: number

width

width: number

Generated using TypeDoc

\ No newline at end of file +InfoReply | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InfoReply

Index

Properties

decay

decay: number

depth

depth: number

k

k: number

width

width: number

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_bloom_ADD.html b/documentation/bloom/modules/commands_bloom_ADD.html index 88c4454a6d..81e2152a50 100644 --- a/documentation/bloom/modules/commands_bloom_ADD.html +++ b/documentation/bloom/modules/commands_bloom_ADD.html @@ -1 +1 @@ -commands/bloom/ADD | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/ADD

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

transformReply

  • transformReply(reply: number): boolean
  • Parameters

    • reply: number

    Returns boolean

Generated using TypeDoc

\ No newline at end of file +commands/bloom/ADD | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/ADD

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

transformReply

  • transformReply(reply: number): boolean
  • Parameters

    • reply: number

    Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_bloom_EXISTS.html b/documentation/bloom/modules/commands_bloom_EXISTS.html index af77d8c29f..c2c8f5c658 100644 --- a/documentation/bloom/modules/commands_bloom_EXISTS.html +++ b/documentation/bloom/modules/commands_bloom_EXISTS.html @@ -1 +1 @@ -commands/bloom/EXISTS | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/EXISTS

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

Generated using TypeDoc

\ No newline at end of file +commands/bloom/EXISTS | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/EXISTS

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_bloom_INFO.html b/documentation/bloom/modules/commands_bloom_INFO.html index 659bd4b359..616cae31f2 100644 --- a/documentation/bloom/modules/commands_bloom_INFO.html +++ b/documentation/bloom/modules/commands_bloom_INFO.html @@ -1 +1 @@ -commands/bloom/INFO | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/INFO

Index

Type aliases

InfoRawReply

InfoRawReply: [_: string, capacity: number, _: string, size: number, _: string, numberOfFilters: number, _: string, numberOfInsertedItems: number, _: string, expansionRate: number]

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string): string[]

transformReply

Generated using TypeDoc

\ No newline at end of file +commands/bloom/INFO | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/INFO

Index

Type aliases

InfoRawReply

InfoRawReply: [_: string, capacity: number, _: string, size: number, _: string, numberOfFilters: number, _: string, numberOfInsertedItems: number, _: string, expansionRate: number]

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string): string[]

transformReply

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_bloom_INSERT.html b/documentation/bloom/modules/commands_bloom_INSERT.html index e6d669f00d..4c7c9dfc4c 100644 --- a/documentation/bloom/modules/commands_bloom_INSERT.html +++ b/documentation/bloom/modules/commands_bloom_INSERT.html @@ -1 +1 @@ -commands/bloom/INSERT | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/INSERT

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: string | string[], options?: InsertOptions): string[]

transformReply

  • transformReply(reply: number[]): boolean[]
  • Parameters

    • reply: number[]

    Returns boolean[]

Generated using TypeDoc

\ No newline at end of file +commands/bloom/INSERT | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/INSERT

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: string | string[], options?: InsertOptions): string[]

transformReply

  • transformReply(reply: number[]): boolean[]
  • Parameters

    • reply: number[]

    Returns boolean[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_bloom_LOADCHUNK.html b/documentation/bloom/modules/commands_bloom_LOADCHUNK.html index eca59ccc67..622a7e612a 100644 --- a/documentation/bloom/modules/commands_bloom_LOADCHUNK.html +++ b/documentation/bloom/modules/commands_bloom_LOADCHUNK.html @@ -1 +1 @@ -commands/bloom/LOADCHUNK | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/LOADCHUNK

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, iteretor: number, chunk: RedisCommandArgument): RedisCommandArguments

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file +commands/bloom/LOADCHUNK | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/LOADCHUNK

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, iteretor: number, chunk: RedisCommandArgument): RedisCommandArguments

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_bloom_MADD.html b/documentation/bloom/modules/commands_bloom_MADD.html index 129b613c59..109c971a99 100644 --- a/documentation/bloom/modules/commands_bloom_MADD.html +++ b/documentation/bloom/modules/commands_bloom_MADD.html @@ -1 +1 @@ -commands/bloom/MADD | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/MADD

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: string[]): string[]

Generated using TypeDoc

\ No newline at end of file +commands/bloom/MADD | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/MADD

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: string[]): string[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_bloom_MEXISTS.html b/documentation/bloom/modules/commands_bloom_MEXISTS.html index cc6ca89af4..b494319368 100644 --- a/documentation/bloom/modules/commands_bloom_MEXISTS.html +++ b/documentation/bloom/modules/commands_bloom_MEXISTS.html @@ -1 +1 @@ -commands/bloom/MEXISTS | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/MEXISTS

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, items: string[]): string[]

Generated using TypeDoc

\ No newline at end of file +commands/bloom/MEXISTS | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/MEXISTS

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, items: string[]): string[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_bloom_RESERVE.html b/documentation/bloom/modules/commands_bloom_RESERVE.html index bd04ac92f2..3980e71857 100644 --- a/documentation/bloom/modules/commands_bloom_RESERVE.html +++ b/documentation/bloom/modules/commands_bloom_RESERVE.html @@ -1 +1 @@ -commands/bloom/RESERVE | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/RESERVE

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, errorRate: number, capacity: number, options?: ReserveOptions): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file +commands/bloom/RESERVE | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/RESERVE

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, errorRate: number, capacity: number, options?: ReserveOptions): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_bloom_SCANDUMP.html b/documentation/bloom/modules/commands_bloom_SCANDUMP.html index abdb616c3e..55884bd1c5 100644 --- a/documentation/bloom/modules/commands_bloom_SCANDUMP.html +++ b/documentation/bloom/modules/commands_bloom_SCANDUMP.html @@ -1 +1 @@ -commands/bloom/SCANDUMP | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/SCANDUMP

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, iterator: number): string[]

transformReply

  • transformReply(__namedParameters: ScanDumpRawReply): ScanDumpReply

Generated using TypeDoc

\ No newline at end of file +commands/bloom/SCANDUMP | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/bloom/SCANDUMP

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, iterator: number): string[]

transformReply

  • transformReply(__namedParameters: ScanDumpRawReply): ScanDumpReply

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_count_min_sketch_INCRBY.html b/documentation/bloom/modules/commands_count_min_sketch_INCRBY.html index d53b04ba0d..d6544fd534 100644 --- a/documentation/bloom/modules/commands_count_min_sketch_INCRBY.html +++ b/documentation/bloom/modules/commands_count_min_sketch_INCRBY.html @@ -1 +1 @@ -commands/count-min-sketch/INCRBY | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/INCRBY

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: IncrByItem | IncrByItem[]): string[]

transformReply

  • transformReply(): number[]

Generated using TypeDoc

\ No newline at end of file +commands/count-min-sketch/INCRBY | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/INCRBY

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: IncrByItem | IncrByItem[]): string[]

transformReply

  • transformReply(): number[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_count_min_sketch_INFO.html b/documentation/bloom/modules/commands_count_min_sketch_INFO.html index 2225a6c3ce..5f0637dec9 100644 --- a/documentation/bloom/modules/commands_count_min_sketch_INFO.html +++ b/documentation/bloom/modules/commands_count_min_sketch_INFO.html @@ -1 +1 @@ -commands/count-min-sketch/INFO | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/INFO

Index

Type aliases

InfoRawReply

InfoRawReply: [_: string, width: number, _: string, depth: number, _: string, count: number]

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string): string[]

transformReply

Generated using TypeDoc

\ No newline at end of file +commands/count-min-sketch/INFO | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/INFO

Index

Type aliases

InfoRawReply

InfoRawReply: [_: string, width: number, _: string, depth: number, _: string, count: number]

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string): string[]

transformReply

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_count_min_sketch_INITBYDIM.html b/documentation/bloom/modules/commands_count_min_sketch_INITBYDIM.html index 16a2020db4..8d549a2145 100644 --- a/documentation/bloom/modules/commands_count_min_sketch_INITBYDIM.html +++ b/documentation/bloom/modules/commands_count_min_sketch_INITBYDIM.html @@ -1 +1 @@ -commands/count-min-sketch/INITBYDIM | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/INITBYDIM

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, width: number, depth: number): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file +commands/count-min-sketch/INITBYDIM | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/INITBYDIM

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, width: number, depth: number): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_count_min_sketch_INITBYPROB.html b/documentation/bloom/modules/commands_count_min_sketch_INITBYPROB.html index 6a14a9ac5f..83910a5168 100644 --- a/documentation/bloom/modules/commands_count_min_sketch_INITBYPROB.html +++ b/documentation/bloom/modules/commands_count_min_sketch_INITBYPROB.html @@ -1 +1 @@ -commands/count-min-sketch/INITBYPROB | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/INITBYPROB

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, error: number, probability: number): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file +commands/count-min-sketch/INITBYPROB | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/INITBYPROB

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, error: number, probability: number): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_count_min_sketch_MERGE.html b/documentation/bloom/modules/commands_count_min_sketch_MERGE.html index 59106113a2..aae75cb535 100644 --- a/documentation/bloom/modules/commands_count_min_sketch_MERGE.html +++ b/documentation/bloom/modules/commands_count_min_sketch_MERGE.html @@ -1 +1 @@ -commands/count-min-sketch/MERGE | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/MERGE

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(dest: string, src: Sketches): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file +commands/count-min-sketch/MERGE | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/MERGE

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(dest: string, src: Sketches): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_count_min_sketch_QUERY.html b/documentation/bloom/modules/commands_count_min_sketch_QUERY.html index b8d5a3c06b..b9c1baf393 100644 --- a/documentation/bloom/modules/commands_count_min_sketch_QUERY.html +++ b/documentation/bloom/modules/commands_count_min_sketch_QUERY.html @@ -1 +1 @@ -commands/count-min-sketch/QUERY | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/QUERY

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, items: string | string[]): RedisCommandArguments

transformReply

  • transformReply(): number[]

Generated using TypeDoc

\ No newline at end of file +commands/count-min-sketch/QUERY | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/count-min-sketch/QUERY

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, items: string | string[]): RedisCommandArguments

transformReply

  • transformReply(): number[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo.html b/documentation/bloom/modules/commands_cuckoo.html index b62594674f..56ceffcb57 100644 --- a/documentation/bloom/modules/commands_cuckoo.html +++ b/documentation/bloom/modules/commands_cuckoo.html @@ -1 +1 @@ -commands/cuckoo | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo

Index

Interfaces

Properties

Functions

Properties

default

Functions

pushInsertOptions

  • pushInsertOptions(args: RedisCommandArguments, items: string | string[], options?: InsertOptions): RedisCommandArguments

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo

Index

Interfaces

Properties

Functions

Properties

default

Functions

pushInsertOptions

  • pushInsertOptions(args: RedisCommandArguments, items: string | string[], options?: InsertOptions): RedisCommandArguments

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_ADD.html b/documentation/bloom/modules/commands_cuckoo_ADD.html index a4d1b1c966..2a711019e9 100644 --- a/documentation/bloom/modules/commands_cuckoo_ADD.html +++ b/documentation/bloom/modules/commands_cuckoo_ADD.html @@ -1 +1 @@ -commands/cuckoo/ADD | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/ADD

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/ADD | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/ADD

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_ADDNX.html b/documentation/bloom/modules/commands_cuckoo_ADDNX.html index 96702be9cc..b341f0c63f 100644 --- a/documentation/bloom/modules/commands_cuckoo_ADDNX.html +++ b/documentation/bloom/modules/commands_cuckoo_ADDNX.html @@ -1 +1 @@ -commands/cuckoo/ADDNX | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/ADDNX

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/ADDNX | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/ADDNX

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_COUNT.html b/documentation/bloom/modules/commands_cuckoo_COUNT.html index fbabf92238..c554681e8e 100644 --- a/documentation/bloom/modules/commands_cuckoo_COUNT.html +++ b/documentation/bloom/modules/commands_cuckoo_COUNT.html @@ -1 +1 @@ -commands/cuckoo/COUNT | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/COUNT

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

transformReply

  • transformReply(): number

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/COUNT | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/COUNT

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

transformReply

  • transformReply(): number

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_DEL.html b/documentation/bloom/modules/commands_cuckoo_DEL.html index b69c733bc2..b224e566bd 100644 --- a/documentation/bloom/modules/commands_cuckoo_DEL.html +++ b/documentation/bloom/modules/commands_cuckoo_DEL.html @@ -1 +1 @@ -commands/cuckoo/DEL | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/DEL

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/DEL | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/DEL

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_EXISTS.html b/documentation/bloom/modules/commands_cuckoo_EXISTS.html index 3cc621805d..b40affa2f8 100644 --- a/documentation/bloom/modules/commands_cuckoo_EXISTS.html +++ b/documentation/bloom/modules/commands_cuckoo_EXISTS.html @@ -1 +1 @@ -commands/cuckoo/EXISTS | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/EXISTS

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/EXISTS | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/EXISTS

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, item: string): string[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_INFO.html b/documentation/bloom/modules/commands_cuckoo_INFO.html index c3cda58e7b..a67e716dc7 100644 --- a/documentation/bloom/modules/commands_cuckoo_INFO.html +++ b/documentation/bloom/modules/commands_cuckoo_INFO.html @@ -1 +1 @@ -commands/cuckoo/INFO | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/INFO

Index

Type aliases

InfoRawReply

InfoRawReply: [_: string, size: number, _: string, numberOfBuckets: number, _: string, numberOfFilters: number, _: string, numberOfInsertedItems: number, _: string, numberOfDeletedItems: number, _: string, bucketSize: number, _: string, expansionRate: number, _: string, maxIteration: number]

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string): string[]

transformReply

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/INFO | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/INFO

Index

Type aliases

InfoRawReply

InfoRawReply: [_: string, size: number, _: string, numberOfBuckets: number, _: string, numberOfFilters: number, _: string, numberOfInsertedItems: number, _: string, numberOfDeletedItems: number, _: string, bucketSize: number, _: string, expansionRate: number, _: string, maxIteration: number]

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string): string[]

transformReply

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_INSERT.html b/documentation/bloom/modules/commands_cuckoo_INSERT.html index 1bb752e695..becf248565 100644 --- a/documentation/bloom/modules/commands_cuckoo_INSERT.html +++ b/documentation/bloom/modules/commands_cuckoo_INSERT.html @@ -1 +1 @@ -commands/cuckoo/INSERT | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/INSERT

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: string | string[], options?: InsertOptions): RedisCommandArguments

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/INSERT | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/INSERT

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: string | string[], options?: InsertOptions): RedisCommandArguments

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_INSERTNX.html b/documentation/bloom/modules/commands_cuckoo_INSERTNX.html index ade72bbf76..13c031bfd9 100644 --- a/documentation/bloom/modules/commands_cuckoo_INSERTNX.html +++ b/documentation/bloom/modules/commands_cuckoo_INSERTNX.html @@ -1 +1 @@ -commands/cuckoo/INSERTNX | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/INSERTNX

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: string | string[], options?: InsertOptions): RedisCommandArguments

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/INSERTNX | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/INSERTNX

Index

References

transformReply

Re-exports transformReply

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: string | string[], options?: InsertOptions): RedisCommandArguments

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_LOADCHUNK.html b/documentation/bloom/modules/commands_cuckoo_LOADCHUNK.html index d5888eb0bf..af2f5275d1 100644 --- a/documentation/bloom/modules/commands_cuckoo_LOADCHUNK.html +++ b/documentation/bloom/modules/commands_cuckoo_LOADCHUNK.html @@ -1 +1 @@ -commands/cuckoo/LOADCHUNK | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/LOADCHUNK

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, iterator: number, chunk: RedisCommandArgument): RedisCommandArguments

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/LOADCHUNK | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/LOADCHUNK

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, iterator: number, chunk: RedisCommandArgument): RedisCommandArguments

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_RESERVE.html b/documentation/bloom/modules/commands_cuckoo_RESERVE.html index 2f98fac232..cc7564349a 100644 --- a/documentation/bloom/modules/commands_cuckoo_RESERVE.html +++ b/documentation/bloom/modules/commands_cuckoo_RESERVE.html @@ -1 +1 @@ -commands/cuckoo/RESERVE | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/RESERVE

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, capacity: number, options?: ReserveOptions): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/RESERVE | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/RESERVE

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, capacity: number, options?: ReserveOptions): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_cuckoo_SCANDUMP.html b/documentation/bloom/modules/commands_cuckoo_SCANDUMP.html index d8e415d771..8703a90728 100644 --- a/documentation/bloom/modules/commands_cuckoo_SCANDUMP.html +++ b/documentation/bloom/modules/commands_cuckoo_SCANDUMP.html @@ -1 +1 @@ -commands/cuckoo/SCANDUMP | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/SCANDUMP

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, iterator: number): string[]

transformReply

  • transformReply(__namedParameters: ScanDumpRawReply): ScanDumpReply

Generated using TypeDoc

\ No newline at end of file +commands/cuckoo/SCANDUMP | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/cuckoo/SCANDUMP

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, iterator: number): string[]

transformReply

  • transformReply(__namedParameters: ScanDumpRawReply): ScanDumpReply

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_top_k_ADD.html b/documentation/bloom/modules/commands_top_k_ADD.html index bbbc0be904..4a2b126880 100644 --- a/documentation/bloom/modules/commands_top_k_ADD.html +++ b/documentation/bloom/modules/commands_top_k_ADD.html @@ -1 +1 @@ -commands/top-k/ADD | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/ADD

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: string | string[]): RedisCommandArguments

transformReply

  • transformReply(): (null | string)[]

Generated using TypeDoc

\ No newline at end of file +commands/top-k/ADD | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/ADD

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: string | string[]): RedisCommandArguments

transformReply

  • transformReply(): (null | string)[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_top_k_COUNT.html b/documentation/bloom/modules/commands_top_k_COUNT.html index 4472f77fbf..8af09f808b 100644 --- a/documentation/bloom/modules/commands_top_k_COUNT.html +++ b/documentation/bloom/modules/commands_top_k_COUNT.html @@ -1 +1 @@ -commands/top-k/COUNT | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/COUNT

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, items: string | string[]): RedisCommandArguments

transformReply

  • transformReply(): number[]

Generated using TypeDoc

\ No newline at end of file +commands/top-k/COUNT | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/COUNT

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, items: string | string[]): RedisCommandArguments

transformReply

  • transformReply(): number[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_top_k_INCRBY.html b/documentation/bloom/modules/commands_top_k_INCRBY.html index a1e4c06756..f9b83dd463 100644 --- a/documentation/bloom/modules/commands_top_k_INCRBY.html +++ b/documentation/bloom/modules/commands_top_k_INCRBY.html @@ -1 +1 @@ -commands/top-k/INCRBY | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/INCRBY

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: IncrByItem | IncrByItem[]): string[]

transformReply

  • transformReply(): (string | null)[]

Generated using TypeDoc

\ No newline at end of file +commands/top-k/INCRBY | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/INCRBY

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, items: IncrByItem | IncrByItem[]): string[]

transformReply

  • transformReply(): (string | null)[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_top_k_INFO.html b/documentation/bloom/modules/commands_top_k_INFO.html index b25c11557e..1a8ddc6f1f 100644 --- a/documentation/bloom/modules/commands_top_k_INFO.html +++ b/documentation/bloom/modules/commands_top_k_INFO.html @@ -1 +1 @@ -commands/top-k/INFO | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/INFO

Index

Type aliases

InfoRawReply

InfoRawReply: [_: string, k: number, _: string, width: number, _: string, depth: number, _: string, decay: string]

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string): string[]

transformReply

Generated using TypeDoc

\ No newline at end of file +commands/top-k/INFO | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/INFO

Index

Type aliases

InfoRawReply

InfoRawReply: [_: string, k: number, _: string, width: number, _: string, depth: number, _: string, decay: string]

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string): string[]

transformReply

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_top_k_LIST.html b/documentation/bloom/modules/commands_top_k_LIST.html index 09b19a42f0..8e032618d8 100644 --- a/documentation/bloom/modules/commands_top_k_LIST.html +++ b/documentation/bloom/modules/commands_top_k_LIST.html @@ -1 +1 @@ -commands/top-k/LIST | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/LIST

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string): string[]

transformReply

  • transformReply(): (string | null)[]

Generated using TypeDoc

\ No newline at end of file +commands/top-k/LIST | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/LIST

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string): string[]

transformReply

  • transformReply(): (string | null)[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_top_k_QUERY.html b/documentation/bloom/modules/commands_top_k_QUERY.html index 4555d291de..9442da465f 100644 --- a/documentation/bloom/modules/commands_top_k_QUERY.html +++ b/documentation/bloom/modules/commands_top_k_QUERY.html @@ -1 +1 @@ -commands/top-k/QUERY | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/QUERY

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, items: string | string[]): RedisCommandArguments

transformReply

  • transformReply(): number[]

Generated using TypeDoc

\ No newline at end of file +commands/top-k/QUERY | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/QUERY

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

IS_READ_ONLY

IS_READ_ONLY: true = true

Functions

transformArguments

  • transformArguments(key: string, items: string | string[]): RedisCommandArguments

transformReply

  • transformReply(): number[]

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/commands_top_k_RESERVE.html b/documentation/bloom/modules/commands_top_k_RESERVE.html index db878ddc0f..0f76c8c0d1 100644 --- a/documentation/bloom/modules/commands_top_k_RESERVE.html +++ b/documentation/bloom/modules/commands_top_k_RESERVE.html @@ -1 +1 @@ -commands/top-k/RESERVE | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/RESERVE

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, topK: number, options?: ReserveOptions): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file +commands/top-k/RESERVE | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/top-k/RESERVE

Index

Variables

FIRST_KEY_INDEX

FIRST_KEY_INDEX: 1 = 1

Functions

transformArguments

  • transformArguments(key: string, topK: number, options?: ReserveOptions): string[]

transformReply

  • transformReply(): "OK"

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/bloom/modules/test_utils.html b/documentation/bloom/modules/test_utils.html index 78b511f891..5d44938419 100644 --- a/documentation/bloom/modules/test_utils.html +++ b/documentation/bloom/modules/test_utils.html @@ -1 +1 @@ -test-utils | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Properties

Variables

Properties

default

default: default

Variables

GLOBAL

GLOBAL: { SERVERS: { OPEN: { clientOptions: { modules: { bf: { ADD: commands/bloom/ADD; EXISTS: commands/bloom/EXISTS; INFO: commands/bloom/INFO; INSERT: commands/bloom/INSERT; LOADCHUNK: commands/bloom/LOADCHUNK; MADD: commands/bloom/MADD; MEXISTS: commands/bloom/MEXISTS; RESERVE: commands/bloom/RESERVE; SCANDUMP: commands/bloom/SCANDUMP; add: commands/bloom/ADD; exists: commands/bloom/EXISTS; info: commands/bloom/INFO; insert: commands/bloom/INSERT; loadChunk: commands/bloom/LOADCHUNK; mAdd: commands/bloom/MADD; mExists: commands/bloom/MEXISTS; reserve: commands/bloom/RESERVE; scanDump: commands/bloom/SCANDUMP }; cf: { ADD: commands/cuckoo/ADD; ADDNX: commands/cuckoo/ADDNX; COUNT: commands/cuckoo/COUNT; DEL: commands/cuckoo/DEL; EXISTS: commands/cuckoo/EXISTS; INFO: commands/cuckoo/INFO; INSERT: commands/cuckoo/INSERT; INSERTNX: commands/cuckoo/INSERTNX; LOADCHUNK: commands/cuckoo/LOADCHUNK; RESERVE: commands/cuckoo/RESERVE; SCANDUMP: commands/cuckoo/SCANDUMP; add: commands/cuckoo/ADD; addNX: commands/cuckoo/ADDNX; count: commands/cuckoo/COUNT; del: commands/cuckoo/DEL; exists: commands/cuckoo/EXISTS; info: commands/cuckoo/INFO; insert: commands/cuckoo/INSERT; insertNX: commands/cuckoo/INSERTNX; loadChunk: commands/cuckoo/LOADCHUNK; reserve: commands/cuckoo/RESERVE; scanDump: commands/cuckoo/SCANDUMP }; cms: { INCRBY: commands/count-min-sketch/INCRBY; INFO: commands/count-min-sketch/INFO; INITBYDIM: commands/count-min-sketch/INITBYDIM; INITBYPROB: commands/count-min-sketch/INITBYPROB; MERGE: commands/count-min-sketch/MERGE; QUERY: commands/count-min-sketch/QUERY; incrBy: commands/count-min-sketch/INCRBY; info: commands/count-min-sketch/INFO; initByDim: commands/count-min-sketch/INITBYDIM; initByProb: commands/count-min-sketch/INITBYPROB; merge: commands/count-min-sketch/MERGE; query: commands/count-min-sketch/QUERY }; topK: { ADD: commands/top-k/ADD; COUNT: commands/top-k/COUNT; INCRBY: commands/top-k/INCRBY; INFO: commands/top-k/INFO; LIST: commands/top-k/LIST; QUERY: commands/top-k/QUERY; RESERVE: commands/top-k/RESERVE; add: commands/top-k/ADD; count: commands/top-k/COUNT; incrBy: commands/top-k/INCRBY; info: commands/top-k/INFO; list: commands/top-k/LIST; query: commands/top-k/QUERY; reserve: commands/top-k/RESERVE } } }; serverArguments: string[] } } } = ...

Type declaration

Generated using TypeDoc

\ No newline at end of file +test-utils | @node-redis/bloom
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Properties

Variables

Properties

default

default: default

Variables

GLOBAL

GLOBAL: { SERVERS: { OPEN: { clientOptions: { modules: { bf: { ADD: commands/bloom/ADD; EXISTS: commands/bloom/EXISTS; INFO: commands/bloom/INFO; INSERT: commands/bloom/INSERT; LOADCHUNK: commands/bloom/LOADCHUNK; MADD: commands/bloom/MADD; MEXISTS: commands/bloom/MEXISTS; RESERVE: commands/bloom/RESERVE; SCANDUMP: commands/bloom/SCANDUMP; add: commands/bloom/ADD; exists: commands/bloom/EXISTS; info: commands/bloom/INFO; insert: commands/bloom/INSERT; loadChunk: commands/bloom/LOADCHUNK; mAdd: commands/bloom/MADD; mExists: commands/bloom/MEXISTS; reserve: commands/bloom/RESERVE; scanDump: commands/bloom/SCANDUMP }; cf: { ADD: commands/cuckoo/ADD; ADDNX: commands/cuckoo/ADDNX; COUNT: commands/cuckoo/COUNT; DEL: commands/cuckoo/DEL; EXISTS: commands/cuckoo/EXISTS; INFO: commands/cuckoo/INFO; INSERT: commands/cuckoo/INSERT; INSERTNX: commands/cuckoo/INSERTNX; LOADCHUNK: commands/cuckoo/LOADCHUNK; RESERVE: commands/cuckoo/RESERVE; SCANDUMP: commands/cuckoo/SCANDUMP; add: commands/cuckoo/ADD; addNX: commands/cuckoo/ADDNX; count: commands/cuckoo/COUNT; del: commands/cuckoo/DEL; exists: commands/cuckoo/EXISTS; info: commands/cuckoo/INFO; insert: commands/cuckoo/INSERT; insertNX: commands/cuckoo/INSERTNX; loadChunk: commands/cuckoo/LOADCHUNK; reserve: commands/cuckoo/RESERVE; scanDump: commands/cuckoo/SCANDUMP }; cms: { INCRBY: commands/count-min-sketch/INCRBY; INFO: commands/count-min-sketch/INFO; INITBYDIM: commands/count-min-sketch/INITBYDIM; INITBYPROB: commands/count-min-sketch/INITBYPROB; MERGE: commands/count-min-sketch/MERGE; QUERY: commands/count-min-sketch/QUERY; incrBy: commands/count-min-sketch/INCRBY; info: commands/count-min-sketch/INFO; initByDim: commands/count-min-sketch/INITBYDIM; initByProb: commands/count-min-sketch/INITBYPROB; merge: commands/count-min-sketch/MERGE; query: commands/count-min-sketch/QUERY }; topK: { ADD: commands/top-k/ADD; COUNT: commands/top-k/COUNT; INCRBY: commands/top-k/INCRBY; INFO: commands/top-k/INFO; LIST: commands/top-k/LIST; QUERY: commands/top-k/QUERY; RESERVE: commands/top-k/RESERVE; add: commands/top-k/ADD; count: commands/top-k/COUNT; incrBy: commands/top-k/INCRBY; info: commands/top-k/INFO; list: commands/top-k/LIST; query: commands/top-k/QUERY; reserve: commands/top-k/RESERVE } } }; serverArguments: string[] } } } = ...

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/documentation/client/classes/lib_client.default.html b/documentation/client/classes/lib_client.default.html index 467e9a0706..00840cbe7a 100644 --- a/documentation/client/classes/lib_client.default.html +++ b/documentation/client/classes/lib_client.default.html @@ -1,4 +1,4 @@ -default | @node-redis/client
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

  • EventEmitter
    • default

Index

Constructors

constructor

Properties

Private Readonly #isolationPool

#isolationPool: Pool<RedisClientType<M, S>>

Private Optional Readonly #options

#options?: RedisClientOptions<M, S>

Private Readonly #queue

#queue: default

Private #selectedDB

#selectedDB: number = 0

Private Readonly #socket

#socket: default

Private Readonly #v4

#v4: Record<string, any> = {}

commandOptions

commandOptions: <T>(options: T) => CommandOptions<T> = RedisClient.commandOptions

Type declaration

pSubscribe

pSubscribe: <T>(patterns: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T) => Promise<void> = ...

Type declaration

    • <T>(patterns: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>
    • Type parameters

      • T: boolean = false

      Parameters

      • patterns: string | string[]
      • listener: PubSubListener<T, T extends true ? Buffer : string>
      • Optional bufferMode: T

      Returns Promise<void>

pUnsubscribe

pUnsubscribe: <T>(patterns?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T) => Promise<void> = ...

Type declaration

    • <T>(patterns?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>
    • Type parameters

      • T: boolean = false

      Parameters

      • Optional patterns: string | string[]
      • Optional listener: PubSubListener<T, T extends true ? Buffer : string>
      • Optional bufferMode: T

      Returns Promise<void>

quit

quit: () => Promise<void> = ...

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

select

select: { (db: number): Promise<void>; (options: CommandOptions<ClientCommandOptions>, db: number): Promise<void> } = ...

Type declaration

subscribe

subscribe: <T>(channels: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T) => Promise<void> = ...

Type declaration

    • <T>(channels: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>
    • Type parameters

      • T: boolean = false

      Parameters

      • channels: string | string[]
      • listener: PubSubListener<T, T extends true ? Buffer : string>
      • Optional bufferMode: T

      Returns Promise<void>

unsubscribe

unsubscribe: <T>(channels?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T) => Promise<void> = ...

Type declaration

    • <T>(channels?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>
    • Type parameters

      • T: boolean = false

      Parameters

      • Optional channels: string | string[]
      • Optional listener: PubSubListener<T, T extends true ? Buffer : string>
      • Optional bufferMode: T

      Returns Promise<void>

Static Readonly captureRejectionSymbol

captureRejectionSymbol: typeof captureRejectionSymbol

Static captureRejections

captureRejections: boolean
+default | @node-redis/client
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

  • EventEmitter
    • default

Index

Constructors

constructor

Properties

Private Readonly #isolationPool

#isolationPool: Pool<RedisClientType<M, S>>

Private Optional Readonly #options

#options?: RedisClientOptions<M, S>

Private Readonly #queue

#queue: default

Private #selectedDB

#selectedDB: number = 0

Private Readonly #socket

#socket: default

Private Readonly #v4

#v4: Record<string, any> = {}

commandOptions

commandOptions: <T>(options: T) => CommandOptions<T> = RedisClient.commandOptions

Type declaration

pSubscribe

pSubscribe: <T>(patterns: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T) => Promise<void> = ...

Type declaration

    • <T>(patterns: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>
    • Type parameters

      • T: boolean = false

      Parameters

      • patterns: string | string[]
      • listener: PubSubListener<T, T extends true ? Buffer : string>
      • Optional bufferMode: T

      Returns Promise<void>

pUnsubscribe

pUnsubscribe: <T>(patterns?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T) => Promise<void> = ...

Type declaration

    • <T>(patterns?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>
    • Type parameters

      • T: boolean = false

      Parameters

      • Optional patterns: string | string[]
      • Optional listener: PubSubListener<T, T extends true ? Buffer : string>
      • Optional bufferMode: T

      Returns Promise<void>

quit

quit: () => Promise<void> = ...

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

select

select: { (db: number): Promise<void>; (options: CommandOptions<ClientCommandOptions>, db: number): Promise<void> } = ...

Type declaration

subscribe

subscribe: <T>(channels: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T) => Promise<void> = ...

Type declaration

    • <T>(channels: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>
    • Type parameters

      • T: boolean = false

      Parameters

      • channels: string | string[]
      • listener: PubSubListener<T, T extends true ? Buffer : string>
      • Optional bufferMode: T

      Returns Promise<void>

unsubscribe

unsubscribe: <T>(channels?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T) => Promise<void> = ...

Type declaration

    • <T>(channels?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>
    • Type parameters

      • T: boolean = false

      Parameters

      • Optional channels: string | string[]
      • Optional listener: PubSubListener<T, T extends true ? Buffer : string>
      • Optional bufferMode: T

      Returns Promise<void>

Static Readonly captureRejectionSymbol

captureRejectionSymbol: typeof captureRejectionSymbol

Static captureRejections

captureRejections: boolean

Sets or gets the default captureRejection value for all emitters.

Static defaultMaxListeners

defaultMaxListeners: number

Static Readonly errorMonitor

errorMonitor: typeof errorMonitor

This symbol shall be used to install a listener for only monitoring 'error' @@ -7,10 +7,10 @@ events. Listeners installed using this symbol are called before the regular

Installing a listener using this symbol does not change the behavior once an 'error' event is emitted, therefore the process will still crash if no regular 'error' listener is installed.

-

Accessors

isOpen

  • get isOpen(): boolean

options

v4

  • get v4(): Record<string, any>

Methods

Private #defineLegacyCommand

  • #defineLegacyCommand(name: string): void

Private #destroyIsolationPool

  • #destroyIsolationPool(): Promise<void>

Private #initiateOptions

Private #initiateQueue

Private #initiateSocket

Private #legacyMode

  • #legacyMode(): void

Private #sendCommand

Private #subscribe

Private #tick

  • #tick(force?: boolean): void

Private #unsubscribe

PSUBSCRIBE

  • PSUBSCRIBE<T>(patterns: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>

PUNSUBSCRIBE

  • PUNSUBSCRIBE<T>(patterns?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>

QUIT

  • QUIT(): Promise<void>

SELECT

SUBSCRIBE

  • SUBSCRIBE<T>(channels: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>

UNSUBSCRIBE

  • UNSUBSCRIBE<T>(channels?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>

addListener

  • addListener(eventName: string | symbol, listener: (...args: any[]) => void): default<M, S>
  • +

Accessors

isOpen

  • get isOpen(): boolean

options

v4

  • get v4(): Record<string, any>

Methods

Private #defineLegacyCommand

  • #defineLegacyCommand(name: string): void

Private #destroyIsolationPool

  • #destroyIsolationPool(): Promise<void>

Private #initiateOptions

Private #initiateQueue

Private #initiateSocket

Private #legacyMode

  • #legacyMode(): void

Private #sendCommand

Private #subscribe

Private #tick

  • #tick(force?: boolean): void

Private #unsubscribe

PSUBSCRIBE

  • PSUBSCRIBE<T>(patterns: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>

PUNSUBSCRIBE

  • PUNSUBSCRIBE<T>(patterns?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>

QUIT

  • QUIT(): Promise<void>

SELECT

SUBSCRIBE

  • SUBSCRIBE<T>(channels: string | string[], listener: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>

UNSUBSCRIBE

  • UNSUBSCRIBE<T>(channels?: string | string[], listener?: PubSubListener<T, T extends true ? Buffer : string>, bufferMode?: T): Promise<void>

addListener

  • addListener(eventName: string | symbol, listener: (...args: any[]) => void): default<M, S>
  • Alias for emitter.on(eventName, listener).

    since

    v0.1.26

    -

    Parameters

    • eventName: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns default<M, S>

commandsExecutor

connect

  • connect(): Promise<void>

disconnect

  • disconnect(): Promise<void>

duplicate

emit

  • emit(eventName: string | symbol, ...args: any[]): boolean
  • +

    Parameters

    • eventName: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns default<M, S>

commandsExecutor

connect

  • connect(): Promise<void>

disconnect

  • disconnect(): Promise<void>

duplicate

emit

  • emit(eventName: string | symbol, ...args: any[]): boolean
  • Synchronously calls each of the listeners registered for the event namedeventName, in the order they were registered, passing the supplied arguments to each.

    Returns true if the event had listeners, false otherwise.

    @@ -23,11 +23,11 @@ listeners. The values in the array are strings or Symbols.

    const EventEmitter = require('events');
    const myEE = new EventEmitter();
    myEE.on('foo', () => {});
    myEE.on('bar', () => {});

    const sym = Symbol('symbol');
    myEE.on(sym, () => {});

    console.log(myEE.eventNames());
    // Prints: [ 'foo', 'bar', Symbol(symbol) ]
    since

    v6.0.0

    -

    Returns (string | symbol)[]

executeIsolated

  • executeIsolated<T>(fn: (client: RedisClientType<M, S>) => T | Promise<T>): Promise<T>

executeScript

getMaxListeners

  • getMaxListeners(): number
  • +

    Returns (string | symbol)[]

executeIsolated

  • executeIsolated<T>(fn: (client: RedisClientType<M, S>) => T | Promise<T>): Promise<T>

executeScript

getMaxListeners

  • getMaxListeners(): number
  • Returns the current max listener value for the EventEmitter which is either set by emitter.setMaxListeners(n) or defaults to defaultMaxListeners.

    since

    v1.0.0

    -

    Returns number

hScanIterator

  • hScanIterator(key: string, options?: ScanOptions): AsyncIterable<{ field: string; value: string }>

listenerCount

  • listenerCount(eventName: string | symbol): number
  • +

    Returns number

hScanIterator

  • hScanIterator(key: string, options?: ScanOptions): AsyncIterable<{ field: string; value: string }>

listenerCount

  • listenerCount(eventName: string | symbol): number

multi

multiExecutor

off

  • off(eventName: string | symbol, listener: (...args: any[]) => void): default<M, S>
  • +

    Parameters

    • eventName: string | symbol

    Returns Function[]

multi

multiExecutor

off

  • off(eventName: string | symbol, listener: (...args: any[]) => void): default<M, S>
  • Alias for emitter.removeListener().

    since

    v10.0.0

    Parameters

    • eventName: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns default<M, S>

on

  • on(eventName: string | symbol, listener: (...args: any[]) => void): default<M, S>
  • @@ -134,14 +134,14 @@ recently added instance. In the example the once('ping')lis

    Returns a reference to the EventEmitter, so that calls can be chained.

    since

    v0.1.26

    -

    Parameters

    • eventName: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns default<M, S>

sScanIterator

  • sScanIterator(key: string, options?: ScanOptions): AsyncIterable<string>

scanIterator

scriptsExecutor

sendCommand

setMaxListeners

  • setMaxListeners(n: number): default<M, S>
  • +

    Parameters

    • eventName: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns default<M, S>

sScanIterator

  • sScanIterator(key: string, options?: ScanOptions): AsyncIterable<string>

scanIterator

scriptsExecutor

sendCommand

setMaxListeners

  • setMaxListeners(n: number): default<M, S>
  • By default EventEmitters will print a warning if more than 10 listeners are added for a particular event. This is a useful default that helps finding memory leaks. The emitter.setMaxListeners() method allows the limit to be modified for this specific EventEmitter instance. The value can be set toInfinity (or 0) to indicate an unlimited number of listeners.

    Returns a reference to the EventEmitter, so that calls can be chained.

    since

    v0.3.5

    -

    Parameters

    • n: number

    Returns default<M, S>

zScanIterator

  • zScanIterator(key: string, options?: ScanOptions): AsyncIterable<{ score: number; value: string }>

Static commandOptions

Static create

Static extend

Static getEventListeners

  • getEventListeners(emitter: EventEmitter | DOMEventTarget, name: string | symbol): Function[]
  • +

    Parameters

    • n: number

    Returns default<M, S>

zScanIterator

  • zScanIterator(key: string, options?: ScanOptions): AsyncIterable<{ score: number; value: string }>

Static commandOptions

Static create

Static extend

Static getEventListeners

  • getEventListeners(emitter: EventEmitter | DOMEventTarget, name: string | symbol): Function[]
  • Returns a copy of the array of listeners for the event named eventName.

    For EventEmitters this behaves exactly the same as calling .listeners on the emitter.

    @@ -202,4 +202,4 @@ special handling:

    const { EventEmitter, once } = require('events');

    const ee = new EventEmitter();
    const ac = new AbortController();

    async function foo(emitter, event, signal) {
    try {
    await once(emitter, event, { signal });
    console.log('event emitted!');
    } catch (error) {
    if (error.name === 'AbortError') {
    console.error('Waiting for the event was canceled!');
    } else {
    console.error('There was an error', error.message);
    }
    }
    }

    foo(ee, 'foo', ac.signal);
    ac.abort(); // Abort waiting for the event
    ee.emit('foo'); // Prints: Waiting for the event was canceled!
    since

    v11.13.0, v10.16.0

    -

    Parameters

    • emitter: NodeEventTarget
    • eventName: string | symbol
    • Optional options: StaticEventEmitterOptions

    Returns Promise<any[]>

  • Parameters

    • emitter: DOMEventTarget
    • eventName: string
    • Optional options: StaticEventEmitterOptions

    Returns Promise<any[]>

Static parseURL

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Private property
  • Private method
  • Enumeration
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • emitter: NodeEventTarget
  • eventName: string | symbol
  • Optional options: StaticEventEmitterOptions

Returns Promise<any[]>

  • Parameters

    • emitter: DOMEventTarget
    • eventName: string
    • Optional options: StaticEventEmitterOptions

    Returns Promise<any[]>

  • Static parseURL

    Generated using TypeDoc

    \ No newline at end of file diff --git a/documentation/client/classes/lib_client_commands_queue.default.html b/documentation/client/classes/lib_client_commands_queue.default.html index d44531dc6f..8b57da0f59 100644 --- a/documentation/client/classes/lib_client_commands_queue.default.html +++ b/documentation/client/classes/lib_client_commands_queue.default.html @@ -1 +1 @@ -default | @node-redis/client
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Hierarchy

    • default

    Index

    Constructors

    constructor

    • new default(maxLength: undefined | null | number): default

    Properties

    Private #chainInExecution

    #chainInExecution: undefined | symbol

    Private Readonly #maxLength

    #maxLength: undefined | null | number

    Private Readonly #parser

    #parser: any = ...

    Private #pubSubState

    #pubSubState: undefined | PubSubState

    Private Readonly #waitingForReply

    #waitingForReply: Yallist<CommandWaitingForReply> = ...

    Private Readonly #waitingToBeSent

    #waitingToBeSent: Yallist<CommandWaitingToBeSent> = ...

    Static Private Readonly #PUB_SUB_MESSAGES

    #PUB_SUB_MESSAGES: { message: Buffer; pMessage: Buffer; pSubscribe: Buffer; pUnsubscribe: Buffer; subscribe: Buffer; unsubscribe: Buffer } = ...

    Type declaration

    • message: Buffer
    • pMessage: Buffer
    • pSubscribe: Buffer
    • pUnsubscribe: Buffer
    • subscribe: Buffer
    • unsubscribe: Buffer

    Methods

    Private #initiatePubSubState

    • #initiatePubSubState(): PubSubState

    Private #pushPubSubCommand

    Private #setReturnBuffers

    • #setReturnBuffers(): void

    Private #shiftWaitingForReply

    • #shiftWaitingForReply(): CommandWaitingForReply

    addCommand

    flushAll

    • flushAll(err: Error): void

    flushWaitingForReply

    • flushWaitingForReply(err: Error): void

    getCommandToSend

    parseResponse

    • parseResponse(data: Buffer): void

    resubscribe

    • resubscribe(): undefined | Promise<any>

    subscribe

    unsubscribe

    Static Private #emitPubSubMessage

    • #emitPubSubMessage(listenersMap: PubSubListenersMap, message: Buffer, channel: Buffer, pattern?: Buffer): void

    Static Private #flushQueue

    • #flushQueue<T>(queue: Yallist<T>, err: Error): void

    Generated using TypeDoc

    \ No newline at end of file +default | @node-redis/client
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Hierarchy

    • default

    Index

    Constructors

    constructor

    • new default(maxLength: undefined | null | number): default

    Properties

    Private #chainInExecution

    #chainInExecution: undefined | symbol

    Private Readonly #maxLength

    #maxLength: undefined | null | number

    Private Readonly #parser

    #parser: any = ...

    Private #pubSubState

    #pubSubState: undefined | PubSubState

    Private Readonly #waitingForReply

    #waitingForReply: Yallist<CommandWaitingForReply> = ...

    Private Readonly #waitingToBeSent

    #waitingToBeSent: Yallist<CommandWaitingToBeSent> = ...

    Static Private Readonly #PUB_SUB_MESSAGES

    #PUB_SUB_MESSAGES: { message: Buffer; pMessage: Buffer; pSubscribe: Buffer; pUnsubscribe: Buffer; subscribe: Buffer; unsubscribe: Buffer } = ...

    Type declaration

    • message: Buffer
    • pMessage: Buffer
    • pSubscribe: Buffer
    • pUnsubscribe: Buffer
    • subscribe: Buffer
    • unsubscribe: Buffer

    Methods

    Private #initiatePubSubState

    • #initiatePubSubState(): PubSubState

    Private #pushPubSubCommand

    Private #setReturnBuffers

    • #setReturnBuffers(): void

    Private #shiftWaitingForReply

    • #shiftWaitingForReply(): CommandWaitingForReply

    addCommand

    flushAll

    • flushAll(err: Error): void

    flushWaitingForReply

    • flushWaitingForReply(err: Error): void

    getCommandToSend

    parseResponse

    • parseResponse(data: Buffer): void

    resubscribe

    • resubscribe(): undefined | Promise<any>

    subscribe

    unsubscribe

    Static Private #emitPubSubMessage

    • #emitPubSubMessage(listenersMap: PubSubListenersMap, message: Buffer, channel: Buffer, pattern?: Buffer): void

    Static Private #flushQueue

    • #flushQueue<T>(queue: Yallist<T>, err: Error): void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/documentation/client/classes/lib_client_multi_command.default.html b/documentation/client/classes/lib_client_multi_command.default.html index c61d48eded..081696cfc0 100644 --- a/documentation/client/classes/lib_client_multi_command.default.html +++ b/documentation/client/classes/lib_client_multi_command.default.html @@ -1 +1 @@ -default | @node-redis/client
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Hierarchy

    • default

    Index

    Constructors

    constructor

    Properties

    Private Readonly #executor

    Private Readonly #multi

    #multi: default = ...

    EXEC

    EXEC: (execAsPipeline?: boolean) => Promise<RedisCommandRawReply[]> = ...

    Type declaration

    Readonly v4

    v4: Record<string, any> = {}

    Methods

    Private #defineLegacyCommand

    • #defineLegacyCommand(name: string): void

    Private #legacyMode

    • #legacyMode(): void

    addCommand

    commandsExecutor

    exec

    execAsPipeline

    scriptsExecutor

    Static extend

    Generated using TypeDoc

    \ No newline at end of file +default | @node-redis/client
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Hierarchy

    • default

    Index

    Constructors

    constructor

    Properties

    Private Readonly #executor

    Private Readonly #multi

    #multi: default = ...

    EXEC

    EXEC: (execAsPipeline?: boolean) => Promise<RedisCommandRawReply[]> = ...

    Type declaration

    Readonly v4

    v4: Record<string, any> = {}

    Methods

    Private #defineLegacyCommand

    • #defineLegacyCommand(name: string): void

    Private #legacyMode

    • #legacyMode(): void

    addCommand

    commandsExecutor

    exec

    execAsPipeline

    scriptsExecutor

    Static extend

    Generated using TypeDoc

    \ No newline at end of file diff --git a/documentation/client/classes/lib_client_socket.default.html b/documentation/client/classes/lib_client_socket.default.html index cdebb74296..8d3d716b29 100644 --- a/documentation/client/classes/lib_client_socket.default.html +++ b/documentation/client/classes/lib_client_socket.default.html @@ -1,4 +1,4 @@ -default | @node-redis/client
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Hierarchy

    • EventEmitter
      • default

    Index

    Constructors

    constructor

    Properties

    Private Optional Readonly #initiator

    Private #isCorked

    #isCorked: boolean = false

    Private #isOpen

    #isOpen: boolean = false

    Private #isReady

    #isReady: boolean = false

    Private Readonly #options

    Private Optional #socket

    #socket?: Socket | TLSSocket

    Private #writableNeedDrain

    #writableNeedDrain: boolean = false

    Static Readonly captureRejectionSymbol

    captureRejectionSymbol: typeof captureRejectionSymbol

    Static captureRejections

    captureRejections: boolean
    +default | @node-redis/client
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Hierarchy

    • EventEmitter
      • default

    Index

    Constructors

    constructor

    Properties

    Private Optional Readonly #initiator

    Private #isCorked

    #isCorked: boolean = false

    Private #isOpen

    #isOpen: boolean = false

    Private #isReady

    #isReady: boolean = false

    Private Readonly #options

    Private Optional #socket

    #socket?: Socket | TLSSocket

    Private #writableNeedDrain

    #writableNeedDrain: boolean = false

    Static Readonly captureRejectionSymbol

    captureRejectionSymbol: typeof captureRejectionSymbol

    Static captureRejections

    captureRejections: boolean

    Sets or gets the default captureRejection value for all emitters.

    Static defaultMaxListeners

    defaultMaxListeners: number

    Static Readonly errorMonitor

    errorMonitor: typeof errorMonitor

    This symbol shall be used to install a listener for only monitoring 'error' @@ -7,10 +7,10 @@ events. Listeners installed using this symbol are called before the regular

    Installing a listener using this symbol does not change the behavior once an 'error' event is emitted, therefore the process will still crash if no regular 'error' listener is installed.

    -

    Accessors

    isOpen

    • get isOpen(): boolean

    isReady

    • get isReady(): boolean

    writableNeedDrain

    • get writableNeedDrain(): boolean

    Methods

    Private #connect

    • #connect(hadError?: boolean): Promise<void>

    Private #createNetSocket

    • #createNetSocket(): CreateSocketReturn<Socket>

    Private #createSocket

    • #createSocket(): Promise<Socket | TLSSocket>

    Private #createTlsSocket

    • #createTlsSocket(): CreateSocketReturn<TLSSocket>

    Private #onSocketError

    • #onSocketError(err: Error): void

    Private #retryConnection

    • #retryConnection(retries: number, hadError?: boolean): Promise<Socket | TLSSocket>

    addListener

    • addListener(eventName: string | symbol, listener: (...args: any[]) => void): default
    • +

    Accessors

    isOpen

    • get isOpen(): boolean

    isReady

    • get isReady(): boolean

    writableNeedDrain

    • get writableNeedDrain(): boolean

    Methods

    Private #connect

    • #connect(hadError?: boolean): Promise<void>

    Private #createNetSocket

    • #createNetSocket(): CreateSocketReturn<Socket>

    Private #createSocket

    • #createSocket(): Promise<Socket | TLSSocket>

    Private #createTlsSocket

    • #createTlsSocket(): CreateSocketReturn<TLSSocket>

    Private #onSocketError

    • #onSocketError(err: Error): void

    Private #retryConnection

    • #retryConnection(retries: number, hadError?: boolean): Promise<Socket | TLSSocket>

    addListener

    • addListener(eventName: string | symbol, listener: (...args: any[]) => void): default
    • Alias for emitter.on(eventName, listener).

      since

      v0.1.26

      -

      Parameters

      • eventName: string | symbol
      • listener: (...args: any[]) => void
          • (...args: any[]): void
          • Parameters

            • Rest ...args: any[]

            Returns void

      Returns default

    connect

    • connect(): Promise<void>

    cork

    • cork(): void

    disconnect

    • disconnect(): void

    emit

    • emit(eventName: string | symbol, ...args: any[]): boolean
    • +

      Parameters

      • eventName: string | symbol
      • listener: (...args: any[]) => void
          • (...args: any[]): void
          • Parameters

            • Rest ...args: any[]

            Returns void

      Returns default

    connect

    • connect(): Promise<void>

    cork

    • cork(): void

    disconnect

    • disconnect(): void

    emit

    • emit(eventName: string | symbol, ...args: any[]): boolean
    • Synchronously calls each of the listeners registered for the event namedeventName, in the order they were registered, passing the supplied arguments to each.

      Returns true if the event had listeners, false otherwise.

      @@ -96,7 +96,7 @@ listener is removed, and then invoked.

      The name of the event.

    • listener: (...args: any[]) => void

      The callback function

      -
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns default

    quit

    • quit(fn: () => Promise<unknown>): Promise<void>

    rawListeners

    • rawListeners(eventName: string | symbol): Function[]
    • +
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns default

    quit

    • quit(fn: () => Promise<unknown>): Promise<void>

    rawListeners

    • rawListeners(eventName: string | symbol): Function[]
    • Returns a copy of the array of listeners for the event named eventName, including any wrappers (such as those created by .once()).

      const emitter = new EventEmitter();
      emitter.once('log', () => console.log('log once'));

      // Returns a new Array with a function `onceWrapper` which has a property
      // `listener` which contains the original listener bound above
      const listeners = emitter.rawListeners('log');
      const logFnWrapper = listeners[0];

      // Logs "log once" to the console and does not unbind the `once` event
      logFnWrapper.listener();

      // Logs "log once" to the console and removes the listener
      logFnWrapper();

      emitter.on('log', () => console.log('log persistently'));
      // Will return a new Array with a single function bound by `.on()` above
      const newListeners = emitter.rawListeners('log');

      // Logs "log persistently" twice
      newListeners[0]();
      emitter.emit('log'); @@ -141,7 +141,7 @@ memory leaks. The emitter.setMaxListeners() method allows the limit modified for this specific EventEmitter instance. The value can be set toInfinity (or 0) to indicate an unlimited number of listeners.

      Returns a reference to the EventEmitter, so that calls can be chained.

      since

      v0.3.5

      -

      Parameters

      • n: number

      Returns default

    writeCommand

    Static Private #defaultReconnectStrategy

    • #defaultReconnectStrategy(retries: number): number

    Static Private #initiateOptions

    Static Private #isTlsSocket

    Static getEventListeners

    • getEventListeners(emitter: EventEmitter | DOMEventTarget, name: string | symbol): Function[]
    • +

      Parameters

      • n: number

      Returns default

    writeCommand

    Static Private #defaultReconnectStrategy

    • #defaultReconnectStrategy(retries: number): number

    Static Private #initiateOptions

    Static Private #isTlsSocket

    Static getEventListeners

    • getEventListeners(emitter: EventEmitter | DOMEventTarget, name: string | symbol): Function[]