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

Method useSync

packages/effect-app/src/Context.ts:20–20  ·  view source on GitHub ↗
(f: (service: Shape) => A)

Source from the content-addressed store, hash-verified

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
23// export interface OpaqueMake<Self extends object, in out Shape extends object, E, R>

Callers 11

getFunction · 0.65
setFunction · 0.65
logFunction · 0.65
logManyFunction · 0.65
runAllFunction · 0.65
modifyFunction · 0.65
modifyMFunction · 0.65
accessFnFunction · 0.65
accessCnFunction · 0.65
buildStreamFunction · 0.65
RouterClass · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected