MCPcopy Create free account
hub / github.com/effect-app/libs / use

Method use

packages/effect-app/src/Context.ts:19–19  ·  view source on GitHub ↗
(f: (service: Shape) => Effect.Effect<A, E, R>)

Source from the content-addressed store, hash-verified

17 eff: Effect.Effect<Shape, E, R>
18 ) => Layer.Layer<Self, E, Exclude<R, Scope.Scope>>
19 use<A, E, R>(f: (service: Shape) => Effect.Effect<A, E, R>): Effect.Effect<A, E, R | Self>
20 useSync<A>(f: (service: Shape) => A): Effect.Effect<A, never, Self>
21}
22

Callers 15

effectFunction · 0.65
effectFunction · 0.65
withNsSqlFunction · 0.65
WithToastClass · 0.65
accessEffectFnFunction · 0.65
accessEffectCnFunction · 0.65
buildEffectFunction · 0.65
ApiClientFactoryClass · 0.65
makeLogFunction · 0.65
Invalidation.tsFile · 0.65
makeTanstackContextFunction · 0.65

Calls

no outgoing calls

Tested by 5

effectFunction · 0.52
effectFunction · 0.52
makeTanstackContextFunction · 0.52
makeTanstackContextFunction · 0.52
makeContextFunction · 0.52