Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | import { Scheduler } from '../Scheduler';
|
---|
| 2 | import { Action } from './Action';
|
---|
| 3 | import { AsyncAction } from './AsyncAction';
|
---|
| 4 | import { SchedulerAction } from '../types';
|
---|
| 5 | import { Subscription } from '../Subscription';
|
---|
| 6 | export declare class AsyncScheduler extends Scheduler {
|
---|
| 7 | static delegate?: Scheduler;
|
---|
| 8 | actions: Array<AsyncAction<any>>;
|
---|
| 9 | /**
|
---|
| 10 | * A flag to indicate whether the Scheduler is currently executing a batch of
|
---|
| 11 | * queued actions.
|
---|
| 12 | * @type {boolean}
|
---|
| 13 | * @deprecated internal use only
|
---|
| 14 | */
|
---|
| 15 | active: boolean;
|
---|
| 16 | /**
|
---|
| 17 | * An internal ID used to track the latest asynchronous task such as those
|
---|
| 18 | * coming from `setTimeout`, `setInterval`, `requestAnimationFrame`, and
|
---|
| 19 | * others.
|
---|
| 20 | * @type {any}
|
---|
| 21 | * @deprecated internal use only
|
---|
| 22 | */
|
---|
| 23 | scheduled: any;
|
---|
| 24 | constructor(SchedulerAction: typeof Action, now?: () => number);
|
---|
| 25 | schedule<T>(work: (this: SchedulerAction<T>, state?: T) => void, delay?: number, state?: T): Subscription;
|
---|
| 26 | flush(action: AsyncAction<any>): void;
|
---|
| 27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.