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

Function makeProto

packages/effect/src/ExecutionPlan.ts:303–314  ·  view source on GitHub ↗
(
  steps: ExecutionPlan<{
    provides: Provides
    input: In
    error: PlanE
    requirements: PlanR
  }>["steps"]
)

Source from the content-addressed store, hash-verified

301}
302
303const makeProto = <Provides, In, PlanE, PlanR>(
304 steps: ExecutionPlan<{
305 provides: Provides
306 input: In
307 error: PlanE
308 requirements: PlanR
309 }>["steps"]
310) => {
311 const self = Object.create(Proto)
312 self.steps = steps
313 return self
314}
315
316/**
317 * Combines multiple execution plans by concatenating their steps in order.

Callers 3

makeFunction · 0.70
captureRequirementsFunction · 0.70
mergeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected