(options: {
readonly acquire: Effect.Effect<A, E, R>
readonly size: number
readonly concurrency?: number | undefined
readonly targetUtilization?: number | undefined
})
| 218 | * @since 2.0.0 |
| 219 | */ |
| 220 | export const make = <A, E, R>(options: { |
| 221 | readonly acquire: Effect.Effect<A, E, R> |
| 222 | readonly size: number |
| 223 | readonly concurrency?: number | undefined |
| 224 | readonly targetUtilization?: number | undefined |
| 225 | }): Effect.Effect<Pool<A, E>, never, R | Scope.Scope> => |
| 226 | makeWithStrategy({ ...options, min: options.size, max: options.size, strategy: strategyNoop() }) |
| 227 | |
| 228 | /** |
| 229 | * Creates a scoped pool with minimum and maximum sizes and a time-to-live |
nothing calls this directly
no test coverage detected