Page Contents
Home > @loopback/pooling > createPooledBindingFactory
createPooledBindingFactory() function
Create a function to return a pooled binding factory
Signature:
export declare function createPooledBindingFactory<T extends object>(bindingAddress: BindingAddress<T>): (context: Context) => PoolFactory<T>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| bindingAddress | [BindingAddress](/doc/en/lb4/apidocs.context.bindingaddress.html)<T> | Binding address |
Returns:
(context: Context) => PoolFactory<T>