diff --git a/server/src/workflow-management/classes/Generator.ts b/server/src/workflow-management/classes/Generator.ts index 56cfd6ea..889c5d04 100644 --- a/server/src/workflow-management/classes/Generator.ts +++ b/server/src/workflow-management/classes/Generator.ts @@ -88,6 +88,11 @@ export class WorkflowGenerator { lastAction: '', } + /** + * Registers the event handlers for all generator-related events on the socket. + * @param socket The socket used to communicate with the client. + * @private + */ private registerEventHandlers = (socket: Socket) => { socket.on('save', async (fileName: string) => { logger.log('debug', `Saving workflow ${fileName}`);