From e304f6fc3a07fdd248d800cd0cb762cfc36bdf34 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 10 May 2024 13:46:25 +0100 Subject: [PATCH] Add ability to look up a process by its uuid --- src/services/ProcessService.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/services/ProcessService.js b/src/services/ProcessService.js index 8047083c2..410217c42 100644 --- a/src/services/ProcessService.js +++ b/src/services/ProcessService.js @@ -19,6 +19,10 @@ export class ProcessService extends Service { return this.processes_map.get(NULL_UUID); } + get_by_uuid (uuid) { + return this.processes_map.get(uuid); + } + get_children_of (uuid) { if ( ! uuid ) { uuid = NULL_UUID;