File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
packages/core/src/shared/utilities Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,6 @@ export interface ChildProcessResult {
62
62
signal ?: string
63
63
}
64
64
65
- interface Tracker < P , T > {
66
- add ( item : T ) : void
67
- delete ( id : P ) : void
68
- has ( item : T ) : boolean
69
- size ( ) : number
70
- clear ( ) : void
71
- }
72
-
73
65
export const eof = Symbol ( 'EOF' )
74
66
75
67
export interface ProcessStats {
@@ -168,7 +160,7 @@ export class ChildProcessTracker {
168
160
* - call and await run to get the results (pass or fail)
169
161
*/
170
162
export class ChildProcess {
171
- static #runningProcesses: Tracker < number , ChildProcess > = new ChildProcessTracker ( )
163
+ static #runningProcesses = new ChildProcessTracker ( )
172
164
#childProcess: proc . ChildProcess | undefined
173
165
#processErrors: Error [ ] = [ ]
174
166
#processResult: ChildProcessResult | undefined
You can’t perform that action at this time.
0 commit comments