MCPcopy Create free account
hub / github.com/Effect-TS/effect / constructor

Method constructor

packages/effect/src/internal/rcRef.ts:57–67  ·  view source on GitHub ↗
(
    acquire: Effect.Effect<A, E>,
    context: Context.Context<never>,
    scope: Scope.Scope,
    idleTimeToLive: Duration.Duration | undefined
  )

Source from the content-addressed store, hash-verified

55 readonly idleTimeToLive: Duration.Duration | undefined
56
57 constructor(
58 acquire: Effect.Effect<A, E>,
59 context: Context.Context<never>,
60 scope: Scope.Scope,
61 idleTimeToLive: Duration.Duration | undefined
62 ) {
63 this.acquire = acquire
64 this.context = context
65 this.scope = scope
66 this.idleTimeToLive = idleTimeToLive
67 }
68}
69
70/** @internal */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected