(options: {
readonly acquire: Effect.Effect<A, E, R>
readonly size: number
readonly concurrency?: number | undefined
readonly targetUtilization?: number | undefined
})
| 282 | * @since 2.0.0 |
| 283 | */ |
| 284 | export const make = <A, E, R>(options: { |
| 285 | readonly acquire: Effect.Effect<A, E, R> |
| 286 | readonly size: number |
| 287 | readonly concurrency?: number | undefined |
| 288 | readonly targetUtilization?: number | undefined |
| 289 | }): Effect.Effect<Pool<A, E>, never, R | Scope.Scope> => |
| 290 | makeWithStrategy({ ...options, min: options.size, max: options.size, strategy: strategyNoop }) |
| 291 | |
| 292 | /** |
| 293 | * Creates a scoped pool with minimum and maximum sizes and a time-to-live |
nothing calls this directly
no test coverage detected