Page Contents
Home > @loopback/pooling > PoolingServiceOptions > factory
PoolingServiceOptions.factory property
A factory to create/destroy/validate resources for the pool or a function to create a factory for the given context
Signature:
factory: PoolFactory<T> | ((ctx: Context) => PoolFactory<T>);