chore: comments

This commit is contained in:
karishmas6
2024-06-07 23:27:11 +05:30
parent 71c5f3922b
commit 968c504456

View File

@@ -39,9 +39,19 @@ interface MetaData {
* @category WorkflowManagement
*/
export class WorkflowGenerator {
/**
* The socket used to communicate with the client.
* @private
*/
private socket : Socket;
/**
* The public constructor of the WorkflowGenerator.
* Takes socket for communication as a parameter and registers some important events on it.
* @param socket The socket used to communicate with the client.
* @constructor
*/
public constructor(socket: Socket) {
this.socket = socket;
this.registerEventHandlers(socket);