(options: {
readonly acquire: Effect<A, E, R>
readonly size: number
readonly concurrency?: number | undefined
readonly targetUtilization?: number | undefined
})
| 78 | |
| 79 | /** @internal */ |
| 80 | export const make = <A, E, R>(options: { |
| 81 | readonly acquire: Effect<A, E, R> |
| 82 | readonly size: number |
| 83 | readonly concurrency?: number | undefined |
| 84 | readonly targetUtilization?: number | undefined |
| 85 | }): Effect<Pool<A, E>, never, R | Scope> => |
| 86 | makeWith({ ...options, min: options.size, max: options.size, strategy: strategyNoop() }) |
| 87 | |
| 88 | /** @internal */ |
| 89 | export const makeWithTTL = <A, E, R>(options: { |
nothing calls this directly
no test coverage detected