* Generate unique process ID
()
| 177 | * Generate unique process ID |
| 178 | */ |
| 179 | function generateProcessId(): string { |
| 180 | return `proc-${Date.now()}-${Math.random().toString(36).slice(2, 10)}` |
| 181 | } |
| 182 | |
| 183 | function emitLifecycle(event: ProcessLifecycleEvent): void { |
| 184 | for (const listener of lifecycleListeners) { |
no outgoing calls
no test coverage detected