Page Contents
Home > @loopback/pooling > PoolingServiceOptions
PoolingServiceOptions interface
Options to configure a resource pool
Signature:
export interface PoolingServiceOptions<T>
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| [factory](/doc/en/lb4/apidocs.pooling.poolingserviceoptions.factory.html) | [PoolFactory](/doc/en/lb4/apidocs.pooling.poolfactory.html)<T> \| ((ctx: [Context](/doc/en/lb4/apidocs.context.context.html)) => [PoolFactory](/doc/en/lb4/apidocs.pooling.poolfactory.html)<T>) | A factory to create/destroy/validate resources for the pool or a function to create a factory for the given context | |
| [poolOptions?](/doc/en/lb4/apidocs.pooling.poolingserviceoptions.pooloptions.html) | Options | _(Optional)_ Options for the generic pool |