Page Contents
Home > @loopback/pooling > PoolingServiceOptions
PoolingServiceOptions interface
Options to configure a resource pool
Signature:
export interface PoolingServiceOptions<T>
Properties
| Property | Type | Description |
|---|---|---|
| factory | PoolFactory<T> | ((ctx: Context) => PoolFactory<T>) | A factory to create/destroy/validate resources for the pool or a function to create a factory for the given context |
| poolOptions? | Options | (Optional) Options for the generic pool |