source: trip-planner-front/node_modules/rxjs/internal/scheduler/AsyncScheduler.d.ts@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.0 KB
Line 
1import { Scheduler } from '../Scheduler';
2import { Action } from './Action';
3import { AsyncAction } from './AsyncAction';
4import { SchedulerAction } from '../types';
5import { Subscription } from '../Subscription';
6export 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.