Initial commit of working RSS Aggregator build

This commit is contained in:
2026-05-12 17:04:02 -03:00
parent ea3a2ca53e
commit 7ac2f6e384
4962 changed files with 1032666 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import { Child } from './child';
interface ChildPoolOpts {
mainFile?: string;
useWorkerThreads?: boolean;
}
export declare class ChildPool {
retained: {
[key: number]: Child;
};
free: {
[key: string]: Child[];
};
private opts;
constructor({ mainFile, useWorkerThreads, }: ChildPoolOpts);
retain(processFile: string): Promise<Child>;
release(child: Child): void;
remove(child: Child): void;
kill(child: Child, signal?: 'SIGTERM' | 'SIGKILL'): Promise<void>;
clean(): Promise<void>;
getFree(id: string): Child[];
getAllFree(): Child[];
}
export {};