(info)
| 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) |