MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / generateProcessId

Function generateProcessId

projects/electron/src/modules/code/process.ts:179–181  ·  view source on GitHub ↗

* Generate unique process ID

()

Source from the content-addressed store, hash-verified

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

Callers 2

handleStartCommandFunction · 0.85
handleStartScriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected