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/command-options.md
+42-9Lines changed: 42 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,12 @@
2
2
3
3
> :warning: The command options API in v5 has breaking changes from the previous version. For more details, refer to the [v4-to-v5 guide](./v4-to-v5.md#command-options).
4
4
5
-
TODO: "proxy client" concept
5
+
TODO
6
6
7
7
## Type Mapping
8
8
9
-
TODO [RESP](./RESP.md)
10
-
11
-
`withTypeMapping`
9
+
Some RESP types can be mapped to more than one JavaScript type. For example, "Blob String" can be mapped to `string` or `Buffer`.
10
+
You can override the default type mapping using the `withTypeMapping` function:
> NOTE: Commands that are already written to the socket cannot be aborted.
28
41
29
42
## ASAP
30
43
31
-
TODO
44
+
Commands that are executed in the "asap" mode are added to the top of the queue. This is useful to ensure that commands are executed before other commands that are already in the queue.
0 commit comments