vulcain-corejs
Version:
Vulcain micro-service framework
11 lines (10 loc) • 399 B
TypeScript
import { IProvider } from './provider';
import { RequestContext } from '../servers/requestContext';
export declare class ProviderFactory {
maxPoolSize: number;
private pool;
constructor(maxPoolSize?: number);
private addToPool(key, item);
private getFromPool(key);
getProviderAsync(context: RequestContext, tenant?: string, providerName?: string): Promise<IProvider<any>>;
}