Page Contents
Home > @loopback/pooling > PoolingService > acquire
PoolingService.acquire() method
Acquire a new instance
Signature:
acquire(requestCtx?: Context): Promise<T>;
Parameters
Parameter | Type | Description |
---|---|---|
requestCtx | Context | (Optional) Optional request context, default to the owning context |
Returns:
Promise<T>