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

Function emit

projects/runtime-node/src/localProcess.ts:36–38  ·  view source on GitHub ↗
(state: LocalProcessState, event: RuntimeNodeProcessLifecycleEvent)

Source from the content-addressed store, hash-verified

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

Callers 2

startChildFunction · 0.70
killAllFunction · 0.70

Calls 1

listenerFunction · 0.50

Tested by

no test coverage detected