Commit fae8eada authored by Nathan Harris's avatar Nathan Harris

Make `RedisConnection.sendCommandsImmediately` public

Motivation:

During the refactor work (commit ea7c755d) that was merged with MRs !71 and !53 - `sendCommandsImmediately` was accidentally lowered to `internal`

Modifications:

Properly mark `RedisConnection.sendCommandsImmediately` as `public`

Result:

Developers should now have proper access to the `sendCommandsImmediately` property
parent 611cc4eb
Pipeline #70820710 canceled with stages
in 1 minute and 4 seconds
......@@ -115,7 +115,7 @@ public final class RedisConnection: RedisClient {
/// When set to `true`, the buffer will be drained as soon as commands are added.
/// - Important: Even when set to `true`, the host machine may still choose to delay sending commands.
/// - Note: Setting this to `true` will immediately drain the buffer.
var sendCommandsImmediately: Bool {
public var sendCommandsImmediately: Bool {
get { return autoflush.load() }
set(newValue) {
if newValue { self.channel.flush() }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment