You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/v4-to-v5.md
+16-19
Original file line number
Diff line number
Diff line change
@@ -83,32 +83,29 @@ for more information, see the [Scan Iterators guide](./scan-iterators.md).
83
83
84
84
## Isolation Pool
85
85
86
-
[TODO](./blocking-commands.md).
87
-
86
+
In v4, `RedisClient` had the ability to create a pool of connections using an "Isolation Pool" on top of the "main" connection. However, there was no way to use the pool without a "main" connection:
Copy file name to clipboardExpand all lines: docs/v5.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,10 @@ await client.withTypeMapping({
22
22
}).hGetAll('key'); // Map<string, Buffer>
23
23
```
24
24
25
+
# Sentinel Support
26
+
27
+
[TODO](./sentinel.md)
28
+
25
29
# `multi.exec<'typed'>` / `multi.execTyped`
26
30
27
31
We have introduced the ability to perform a "typed" `MULTI`/`EXEC` transaction. Rather than returning `Array<ReplyUnion>`, a transaction invoked with `.exec<'typed'>` will return types appropriate to the commands in the transaction where possible:
Copy file name to clipboardExpand all lines: packages/redis/README.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,6 @@ createClient({
28
28
29
29
You can also use discrete parameters, UNIX sockets, and even TLS to connect. Details can be found in the [client configuration guide](../../docs/client-configuration.md).
30
30
31
-
### Connection State
32
-
33
-
To client exposes 2 `boolean`s that track the client state:
34
-
1.`isOpen` - the client is either connecting or connected.
35
-
2.`isReady` - the client is connected and ready to send
36
-
37
31
### Redis Commands
38
32
39
33
There is built-in support for all of the [out-of-the-box Redis commands](https://redis.io/commands). They are exposed using the raw Redis command names (`HSET`, `HGETALL`, etc.) and a friendlier camel-cased version (`hSet`, `hGetAll`, etc.):
@@ -148,6 +142,12 @@ await Promise.all([
148
142
]);
149
143
```
150
144
145
+
### Connection State
146
+
147
+
To client exposes 2 `boolean`s that track the client state:
148
+
1.`isOpen` - the client is either connecting or connected.
149
+
2.`isReady` - the client is connected and ready to send
150
+
151
151
### Events
152
152
153
153
The client extends `EventEmitter` and emits the following events:
0 commit comments