File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @codebolt/codeboltjs" ,
3- "version" : " 1.1.51 " ,
3+ "version" : " 1.1.53 " ,
44 "description" : " " ,
55 "keywords" : [],
66 "author" : " " ,
Original file line number Diff line number Diff line change @@ -130,6 +130,18 @@ const cbchat = {
130130 "type" : "processStoped"
131131 } ) ) ;
132132 } ,
133+ /**
134+ * Stops the ongoing process.
135+ * Sends a specific message to the server to stop the process.
136+ */
137+ processFinished : ( ) => {
138+ // Implement the logic to stop the process here
139+ console . log ( "Process Finished ..." ) ;
140+ // For example, you might want to send a specific message to the server to stop the process
141+ cbws . getWebsocket . send ( JSON . stringify ( {
142+ "type" : "processFinished"
143+ } ) ) ;
144+ } ,
133145
134146 /**
135147 * Sends a confirmation request to the server with two options: Yes or No.
You can’t perform that action at this time.
0 commit comments