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

Method context

packages/effect-app/src/Context.ts:14–14  ·  view source on GitHub ↗
(self: Shape)

Source from the content-addressed store, hash-verified

12export interface Opaque<Self extends object, in out Shape extends object> extends CTX.Key<Self, Self> {
13 of(this: void, self: Shape): Self
14 context(self: Shape): CTX.Context<Self>
15 // a version that leverages the Shape -> Self conversion
16 toLayer: <E, R>(
17 eff: Effect.Effect<Shape, E, R>

Callers 15

MyContextProviderClass · 0.65
MyContextProvider2Class · 0.65
makeSSEFunction · 0.65
makeSQLStoreIntFunction · 0.65
makeSQLiteStorePerNsFunction · 0.65
SQLiteStoreLayerFunction · 0.65
makeMemoryStoreFunction · 0.65
makeDiskStoreFunction · 0.65
Cosmos.tsFile · 0.65

Calls

no outgoing calls

Tested by 3

setupFunction · 0.52
makeAtomHarnessFunction · 0.52
makeEnvFunction · 0.52