MCPcopy Create free account
hub / github.com/loopbackio/loopback-next / stop

Method stop

extensions/pooling/src/pooling.ts:177–182  ·  view source on GitHub ↗

* Stop the pool

()

Source from the content-addressed store, hash-verified

175 * Stop the pool
176 */
177 async stop() {
178 debug('Stopping pool for context %s', this.context.name);
179 if (this.pool == null) return;
180 await this.pool.drain();
181 await this.pool.clear();
182 }
183
184 /**
185 * Acquire a new instance

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected