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

Method create

extensions/pooling/src/pooling.ts:301–310  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299 ) {}
300
301 async create() {
302 debug(
303 'Creating a resource for %s#%s',
304 this.context.name,
305 this.bindingAddress,
306 );
307 const value = await this.context.get(this.bindingAddress);
308 await invokePoolableMethod(value, 'start');
309 return value;
310 }
311
312 async destroy(value: T) {
313 debug(

Callers

nothing calls this directly

Calls 2

invokePoolableMethodFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected