Page Contents

Home > @loopback/pooling > PooledValue

PooledValue interface

Pooled resource instance

Signature:

export interface PooledValue<T> 

Properties

Property Modifiers Type Description
[pool](/doc/en/lb4/apidocs.pooling.pooledvalue.pool.html) Pool<T> The resource pool
[value](/doc/en/lb4/apidocs.pooling.pooledvalue.value.html) T Acquired value from the pool

Methods

Method Description
[release()](/doc/en/lb4/apidocs.pooling.pooledvalue.release.html) The function to release the acquired value back to the pool