Opal-Estate-Pro/node_modules/rxjs/scheduler/QueueAction.d.ts
2019-09-13 11:27:52 +07:00

17 lines
682 B
TypeScript
Executable File

import { AsyncAction } from './AsyncAction';
import { Subscription } from '../Subscription';
import { QueueScheduler } from './QueueScheduler';
/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export declare class QueueAction<T> extends AsyncAction<T> {
protected scheduler: QueueScheduler;
protected work: (this: QueueAction<T>, state?: T) => void;
constructor(scheduler: QueueScheduler, work: (this: QueueAction<T>, state?: T) => void);
schedule(state?: T, delay?: number): Subscription;
execute(state: T, delay: number): any;
protected requestAsyncId(scheduler: QueueScheduler, id?: any, delay?: number): any;
}