chore: comments
This commit is contained in:
@@ -40,8 +40,18 @@ interface MetaData {
|
|||||||
*/
|
*/
|
||||||
export class WorkflowGenerator {
|
export class WorkflowGenerator {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The socket used to communicate with the client.
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
private socket : Socket;
|
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) {
|
public constructor(socket: Socket) {
|
||||||
this.socket = socket;
|
this.socket = socket;
|
||||||
this.registerEventHandlers(socket);
|
this.registerEventHandlers(socket);
|
||||||
|
|||||||
Reference in New Issue
Block a user