(state: LocalProcessState, event: RuntimeNodeProcessLifecycleEvent)
| 34 | const CLEANUP_DELAY_MS = 30 * 60 * 1000 |
| 35 | |
| 36 | function emit(state: LocalProcessState, event: RuntimeNodeProcessLifecycleEvent): void { |
| 37 | for (const listener of state.listeners) listener(event) |
| 38 | } |
| 39 | |
| 40 | function processId(): string { |
| 41 | return `proc-${Date.now().toString(36)}-${randomUUID()}` |
no test coverage detected