Merges two batches into a single batch where result of the right-hand-side batch is returned while result of left-hand-side is discarded.
Merges two batches into a single batch where result of the right-hand-side batch is returned while
result of left-hand-side is discarded. Useful when left-hand-side returns Unit
.
NOTE: errors for left-hand-side are NOT discarded, use ignoreFailures on it if that's your intention.
Merges two batches into a single batch where result of the left-hand-side batch is returned while result of right-hand-side is discarded.
Merges two batches into a single batch where result of the left-hand-side batch is returned while
result of right-hand-side is discarded. Useful when right-hand-side returns Unit
.
NOTE: errors for right-hand-side are NOT discarded, use ignoreFailures on it if that's your intention.
This is a symbolic alias for map2.
This is a symbolic alias for map2. The symbol (along with *> and <*) is inspired by its Haskell equivalent.
Ensures that every keyed command in this batch is prepended with ASKING
special command.
Ensures that every keyed command in this batch is prepended with ASKING
special command.
This is necessary only when manually handling Redis Cluster redirections.
Ensures that this batch is atomic, i.e.
Ensures that this batch is atomic, i.e. it's either a single Redis command or is executed inside a
MULTI
-EXEC
block.
Merges two batches into one.
Merges two batches into one. Provided function is applied on results of the batches being merged to obtain
result of the merged batch. map2
is the fundamental primitive for composing multiple batches into one.
Transforms this batch into a RedisOp.
Transforms this batch into a RedisOp.
Ensures that this batch is executed inside a MULTI
-EXEC
block.
Ensures that this batch is executed inside a MULTI
-EXEC
block.