mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
16 lines
669 B
TypeScript
16 lines
669 B
TypeScript
|
import { AsyncAction } from './AsyncAction';
|
||
|
import { AsapScheduler } from './AsapScheduler';
|
||
|
import { SchedulerAction } from '../types';
|
||
|
/**
|
||
|
* We need this JSDoc comment for affecting ESDoc.
|
||
|
* @ignore
|
||
|
* @extends {Ignored}
|
||
|
*/
|
||
|
export declare class AsapAction<T> extends AsyncAction<T> {
|
||
|
protected scheduler: AsapScheduler;
|
||
|
protected work: (this: SchedulerAction<T>, state?: T) => void;
|
||
|
constructor(scheduler: AsapScheduler, work: (this: SchedulerAction<T>, state?: T) => void);
|
||
|
protected requestAsyncId(scheduler: AsapScheduler, id?: any, delay?: number): any;
|
||
|
protected recycleAsyncId(scheduler: AsapScheduler, id?: any, delay?: number): any;
|
||
|
}
|