Skip to content

Commit b59225e

Browse files
author
Ruben Bridgewater
committed
Update readme
1 parent 14170f9 commit b59225e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ then replayed just before this event is emitted.
129129

130130
### "connect"
131131

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.
134133

135134
### "reconnecting"
136135

@@ -621,9 +620,9 @@ Duplicate all current options and return a new redisClient instance. All options
621620

622621
## client.send_command(command_name[, [args][, callback]])
623622

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.
627626

628627
All commands are sent as multi-bulk commands. `args` can either be an Array of arguments, or omitted / set to undefined.
629628

0 commit comments

Comments
 (0)