MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / destroy

Method destroy

extensions/pooling/src/pooling.ts:312–320  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

310 }
311
312 async destroy(value: T) {
313 debug(
314 'Destroying a resource for %s#%s',
315 this.context.name,
316 this.bindingAddress,
317 value,
318 );
319 await invokePoolableMethod(value, 'stop');
320 }
321}
322
323/**

Callers

nothing calls this directly

Calls 1

invokePoolableMethodFunction · 0.85

Tested by

no test coverage detected