(id: string, over: Partial<WireStep> = {})
| 17 | /* ------------------------------------------------------------ material -- */ |
| 18 | |
| 19 | const 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 | |
| 31 | const arm = (when: string, body: WireBlock, over: Partial<WireArm> = {}): WireArm => ({ when, ends: null, body, ...over }); |
| 32 |
no outgoing calls
no test coverage detected