chore: register handler description
This commit is contained in:
@@ -88,6 +88,11 @@ export class WorkflowGenerator {
|
|||||||
lastAction: '',
|
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) => {
|
private registerEventHandlers = (socket: Socket) => {
|
||||||
socket.on('save', async (fileName: string) => {
|
socket.on('save', async (fileName: string) => {
|
||||||
logger.log('debug', `Saving workflow ${fileName}`);
|
logger.log('debug', `Saving workflow ${fileName}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user