UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

114 lines (55 loc) 1.5 kB
--- lang: en title: 'API docs: pooling.pooledvalue' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/pooling permalink: /doc/en/lb4/apidocs.pooling.pooledvalue.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/pooling](./pooling.md) &gt; [PooledValue](./pooling.pooledvalue.md) ## PooledValue interface Pooled resource instance **Signature:** ```typescript export interface PooledValue<T> ``` ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [pool](./pooling.pooledvalue.pool.md) </td><td markdown="1"> </td><td markdown="1"> Pool&lt;T&gt; </td><td markdown="1"> The resource pool </td></tr> <tr><td markdown="1"> [value](./pooling.pooledvalue.value.md) </td><td markdown="1"> </td><td markdown="1"> T </td><td markdown="1"> Acquired value from the pool </td></tr> </tbody></table> ## Methods <table><thead><tr><th> Method </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [release()](./pooling.pooledvalue.release.md) </td><td markdown="1"> The function to release the acquired value back to the pool </td></tr> </tbody></table>