Page Contents

Home > @loopback/pooling > PoolingServiceOptions

PoolingServiceOptions interface

Options to configure a resource pool


export interface PoolingServiceOptions<T> 


Property Modifiers 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