First upload version 0.0.1
This commit is contained in:
23
node_modules/simple-git/dist/src/lib/runners/tasks-pending-queue.d.ts
generated
vendored
Normal file
23
node_modules/simple-git/dist/src/lib/runners/tasks-pending-queue.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import { SimpleGitTask } from '../types';
|
||||
import { GitError } from '../errors/git-error';
|
||||
import { OutputLogger } from '../git-logger';
|
||||
type AnySimpleGitTask = SimpleGitTask<any>;
|
||||
type TaskInProgress = {
|
||||
name: string;
|
||||
logger: OutputLogger;
|
||||
task: AnySimpleGitTask;
|
||||
};
|
||||
export declare class TasksPendingQueue {
|
||||
private logLabel;
|
||||
private _queue;
|
||||
constructor(logLabel?: string);
|
||||
private withProgress;
|
||||
private createProgress;
|
||||
push(task: AnySimpleGitTask): TaskInProgress;
|
||||
fatal(err: GitError): void;
|
||||
complete(task: AnySimpleGitTask): void;
|
||||
attempt(task: AnySimpleGitTask): TaskInProgress;
|
||||
static getName(name?: string): string;
|
||||
private static counter;
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user