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 1
1
{
2
2
"name" : " @codebolt/codeboltjs" ,
3
- "version" : " 1.1.26 " ,
3
+ "version" : " 1.1.27 " ,
4
4
"description" : " " ,
5
5
"keywords" : [],
6
6
"author" : " " ,
Original file line number Diff line number Diff line change @@ -92,6 +92,14 @@ const cbchat = {
92
92
} ) ) ;
93
93
}
94
94
} ;
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
+ } ) ) ;
95
103
}
96
104
} ;
97
105
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export const debug={
12
12
return new Promise ( ( resolve , reject ) => {
13
13
cbws . getWebsocket . send ( JSON . stringify ( {
14
14
"type" : "debugEvent" ,
15
+ "action" :"addLog" ,
15
16
message :{
16
17
log,
17
18
type
You can’t perform that action at this time.
0 commit comments