MCPcopy
hub / github.com/redis/node-redis / createPool

Method createPool

packages/client/lib/client/index.ts:1128–1133  ·  view source on GitHub ↗

* Create RedisClientPool `RedisClientPool` using this client as a prototype

(options?: Partial<RedisPoolOptions>)

Source from the content-addressed store, hash-verified

1126 * Create {@link RedisClientPool `RedisClientPool`} using this client as a prototype
1127 */
1128 createPool(options?: Partial<RedisPoolOptions>) {
1129 return RedisClientPool.create(
1130 this._self.#options,
1131 options
1132 );
1133 }
1134
1135 duplicate<
1136 _M extends RedisModules = M,

Callers 2

Calls 1

createMethod · 0.45

Tested by

no test coverage detected