We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RedisConnectionPool.leaseConnection
1 parent 61cc879 commit 833fc33Copy full SHA for 833fc33
Sources/RediStack/RedisConnectionPool.swift
@@ -159,8 +159,8 @@ extension RedisConnectionPool {
159
/// For example:
160
/// ```swift
161
/// let countFuture = pool.leaseConnection {
162
- /// $0.logging(to: myLogger)
163
- /// .authorize(with: userPassword)
+ /// let client = $0.logging(to: myLogger)
+ /// return client.authorize(with: userPassword)
164
/// .flatMap { connection.select(database: userDatabase) }
165
/// .flatMap { connection.increment(counterKey) }
166
/// }
0 commit comments