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

Function onSpawn

projects/openade-module/src/node.ts:1056–1064  ·  view source on GitHub ↗
(info)

Source from the content-addressed store, hash-verified

1054 },
1055 {
1056 onSpawn(info) {
1057 const runtime = server?.supervisor.update(runtimeId, {
1058 pid: info.pid,
1059 pgid: info.pgid,
1060 processLabel: info.processLabel,
1061 processStartedAt: info.processStartedAt,
1062 })
1063 server?.notify("runtime/updated", runtime)
1064 },
1065 onEvent(event) {
1066 events.push(event)
1067 server?.supervisor.touchByOwner("openade-task", taskId)

Callers

nothing calls this directly

Calls 2

notifyMethod · 0.80
updateMethod · 0.65

Tested by

no test coverage detected