20 lines
441 B
TypeScript
20 lines
441 B
TypeScript
|
export declare class Task {
|
||
|
task: any;
|
||
|
idle: boolean;
|
||
|
running: boolean;
|
||
|
buffered: boolean;
|
||
|
private _counterBufferRelative;
|
||
|
private _counterTriggerAbsolute;
|
||
|
private _state;
|
||
|
preTask: Task;
|
||
|
afterTask: Task;
|
||
|
constructor(taskArg: any, optionsArg?: {
|
||
|
preTask?: Task;
|
||
|
afterTask?: Task;
|
||
|
buffered?: boolean;
|
||
|
});
|
||
|
trigger(): any;
|
||
|
triggerBuffered(): void;
|
||
|
state: string;
|
||
|
}
|