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<T> Binding address

Returns:

(context: Context) => PoolFactory<T>