Constructors
constructor
- new ChildPool(masterFile?): ChildPool
-
Parameters
-
Optional
masterFile: string
Properties
free
retained
Methods
clean
- clean(): Promise<void>
-
Returns Promise<void>
getAllFree
- getAllFree(): ChildProcessExt[]
-
getFree
- getFree(id): ChildProcessExt[]
-
kill
- kill(child, signal?): Promise<void>
-
Parameters
-
child: ChildProcess
-
Optional
signal: "SIGKILL" | "SIGTERM"
Returns Promise<void>
release
- release(child): void
-
Returns void
remove
- remove(child): void
-
Returns void
retain
- retain(processFile): Promise<ChildProcessExt>
-