github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/action/node_modules/simple-git/dist/src/lib/runners/tasks-pending-queue.d.ts (about) 1 import { SimpleGitTask } from '../types'; 2 import { GitError } from '../errors/git-error'; 3 import { OutputLogger } from '../git-logger'; 4 declare type AnySimpleGitTask = SimpleGitTask<any>; 5 declare type TaskInProgress = { 6 name: string; 7 logger: OutputLogger; 8 task: AnySimpleGitTask; 9 }; 10 export declare class TasksPendingQueue { 11 private logLabel; 12 private _queue; 13 constructor(logLabel?: string); 14 private withProgress; 15 private createProgress; 16 push(task: AnySimpleGitTask): TaskInProgress; 17 fatal(err: GitError): void; 18 complete(task: AnySimpleGitTask): void; 19 attempt(task: AnySimpleGitTask): TaskInProgress; 20 static getName(name?: string): string; 21 private static counter; 22 } 23 export {};