keiro
Version:
A filesystem routing middleware
11 lines • 583 B
TypeScript
import type { initializeFileSystemRouter } from "../fileSystemRouter";
import type { WorkerPoolFactory } from "./utils";
type InitialOptions = ReturnType<typeof initializeFileSystemRouter>["initialOptions"];
export type WorkerFileSystemRouterOptions = InitialOptions & {
middlewareFilePath: string | null | undefined;
poolFactory: WorkerPoolFactory;
workerCount: number;
};
export declare function getFileSystemWorkerPool(options: WorkerFileSystemRouterOptions): import("../workers/workerPool").WorkerPool;
export {};
//# sourceMappingURL=getFileSystemWorkerPool.d.ts.map