File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change 1
1
import { CommandHandler , ProcessingEngine } from '../types/modules'
2
- import { CommandSystemDonate , isCommand , Response } from '../types/commands'
2
+ import { isCommand , Response } from '../types/commands'
3
3
4
4
export default class WorkerProcessingEngine implements ProcessingEngine {
5
5
sessionId : String
@@ -21,18 +21,6 @@ export default class WorkerProcessingEngine implements ProcessingEngine {
21
21
)
22
22
this . handleEvent ( event )
23
23
}
24
-
25
- this . trackUserStart ( sessionId )
26
- }
27
-
28
- trackUserStart ( sessionId : string ) : void {
29
- const key = `${ sessionId } -tracking`
30
- const jsonString = JSON . stringify ( { message : 'user started' } )
31
- const command : CommandSystemDonate = { __type__ : 'CommandSystemDonate' , key, json_string : jsonString }
32
- this . commandHandler . onCommand ( command ) . then (
33
- ( ) => { } ,
34
- ( ) => { }
35
- )
36
24
}
37
25
38
26
handleEvent ( event : any ) : void {
You can’t perform that action at this time.
0 commit comments