File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @codebolt/codeboltjs" ,
3- "version" : " 1.1.26 " ,
3+ "version" : " 1.1.27 " ,
44 "description" : " " ,
55 "keywords" : [],
66 "author" : " " ,
Original file line number Diff line number Diff line change @@ -92,6 +92,14 @@ const cbchat = {
9292 } ) ) ;
9393 }
9494 } ;
95+ } ,
96+ stopProcess : ( ) => {
97+ // Implement the logic to stop the process here
98+ console . log ( "Stopping process..." ) ;
99+ // For example, you might want to send a specific message to the server to stop the process
100+ cbws . getWebsocket . send ( JSON . stringify ( {
101+ "type" : "processStoped"
102+ } ) ) ;
95103 }
96104} ;
97105
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export const debug={
1212 return new Promise ( ( resolve , reject ) => {
1313 cbws . getWebsocket . send ( JSON . stringify ( {
1414 "type" : "debugEvent" ,
15+ "action" :"addLog" ,
1516 message :{
1617 log,
1718 type
You can’t perform that action at this time.
0 commit comments