Page Contents

Home > @loopback/pooling > PoolingService > release

PoolingService.release() method

Release the resource back to the pool.

Signature:

release(resource: T): Promise<void>;

Parameters

Parameter Type Description
resource T Resource instance to be returned back to the pool

Returns:

Promise<void>