File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -129,8 +129,7 @@ then replayed just before this event is emitted.
129
129
130
130
### "connect"
131
131
132
- ` client ` will emit ` connect ` at the same time as it emits ` ready ` unless ` client.options.no_ready_check `
133
- is set. If this options is set, ` connect ` will be emitted when the stream is connected.
132
+ ` client ` will emit ` connect ` as soon as the stream is connected to the server.
134
133
135
134
### "reconnecting"
136
135
@@ -621,9 +620,9 @@ Duplicate all current options and return a new redisClient instance. All options
621
620
622
621
## client.send_command(command_name[ , [ args] [ , callback ]] )
623
622
624
- Used internally to send commands to Redis. Nearly all Redis commands have been added to the ` client ` object.
625
- However, if new commands are introduced before this library is updated, you can use ` send_command() ` to send arbitrary commands to Redis.
626
- The command has to be lower case.
623
+ All Redis commands have been added to the ` client ` object. However, if new commands are introduced before this library is updated,
624
+ you can use ` send_command() ` to send arbitrary commands to Redis.
625
+ The command_name has to be lower case.
627
626
628
627
All commands are sent as multi-bulk commands. ` args ` can either be an Array of arguments, or omitted / set to undefined.
629
628
You can’t perform that action at this time.
0 commit comments