MCPcopy Index your code
hub / github.com/Effect-TS/effect / make

Function make

packages/effect/src/internal/pool.ts:80–86  ·  view source on GitHub ↗
(options: {
  readonly acquire: Effect<A, E, R>
  readonly size: number
  readonly concurrency?: number | undefined
  readonly targetUtilization?: number | undefined
})

Source from the content-addressed store, hash-verified

78
79/** @internal */
80export 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 */
89export const makeWithTTL = <A, E, R>(options: {

Callers

nothing calls this directly

Calls 2

strategyNoopFunction · 0.85
makeWithFunction · 0.70

Tested by

no test coverage detected