MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / step

Function step

__tests__/ui-program-model.test.ts:19–29  ·  view source on GitHub ↗
(id: string, over: Partial<WireStep> = {})

Source from the content-addressed store, hash-verified

17/* ------------------------------------------------------------ material -- */
18
19const step = (id: string, over: Partial<WireStep> = {}): WireStep => ({
20 id,
21 kind: 'effect',
22 anchor: false,
23 node: null,
24 label: id,
25 sub: 'response · handler',
26 depth: 1,
27 cut: null,
28 ...over,
29});
30
31const arm = (when: string, body: WireBlock, over: Partial<WireArm> = {}): WireArm => ({ when, ends: null, body, ...over });
32

Callers 2

payloadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected