@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
16 lines (15 loc) • 404 B
TypeScript
import { PageTask } from '@pkg/page-filter';
export declare class BatchTaskQueue {
private queue;
private currentIndex;
private readonly totalBatches;
constructor(batches: PageTask[][]);
nextBatch(): PageTask[] | null;
getProgress(): {
completed: number;
total: number;
percentage: number;
};
hasMore(): boolean;
getRemainingCount(): number;
}