1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

a little bit docs

This commit is contained in:
Leibale
2023-11-09 21:01:26 -05:00
parent 37c39b71c9
commit 7247777a6f
8 changed files with 97 additions and 115 deletions

View File

@@ -517,7 +517,7 @@ export default class RedisClient<
/**
* Create {@link RedisClientPool `RedisClientPool`} using this client as a prototype
*/
pool(options?: Partial<RedisPoolOptions>) {
createPool(options?: Partial<RedisPoolOptions>) {
return RedisClientPool.create(
this._options,
options

View File

@@ -216,7 +216,7 @@ export class RedisClientPool<
}
/**
* You are probably looking for {@link RedisClient.pool `RedisClient.pool`},
* You are probably looking for {@link RedisClient.createPool `RedisClient.createPool`},
* {@link RedisClientPool.fromClient `RedisClientPool.fromClient`},
* or {@link RedisClientPool.fromOptions `RedisClientPool.fromOptions`}...
*/