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

Function layerCosmos

packages/infra/src/WorkflowEngineCosmos.ts:746–749  ·  view source on GitHub ↗
(cfg: WorkflowEngineCosmosConfig)

Source from the content-addressed store, hash-verified

744 * persisted payloads/results/exits are round-tripped through schema codecs.
745 */
746export const layerCosmos = (cfg: WorkflowEngineCosmosConfig): Layer.Layer<WorkflowEngine> =>
747 Layer
748 .effect(WorkflowEngine)(makeCosmosWorkflowEngine(cfg))
749 .pipe(Layer.provide(CosmosClientLayer(Redacted.value(cfg.url), cfg.dbName)))

Callers

nothing calls this directly

Calls 4

CosmosClientLayerFunction · 0.90
pipeMethod · 0.65
valueMethod · 0.65
provideMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…