source: trip-planner-front/node_modules/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts

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.4 KB
RevLine 
[6a3a178]1import { AsyncAction } from './AsyncAction';
2import { Subscription } from '../Subscription';
3import { AsyncScheduler } from './AsyncScheduler';
4import { SchedulerAction } from '../types';
5export declare class VirtualTimeScheduler extends AsyncScheduler {
6 maxFrames: number;
7 protected static frameTimeFactor: number;
8 frame: number;
9 index: number;
10 constructor(SchedulerAction?: typeof AsyncAction, maxFrames?: number);
11 /**
12 * Prompt the Scheduler to execute all of its queued actions, therefore
13 * clearing its queue.
14 * @return {void}
15 */
16 flush(): void;
17}
18/**
19 * We need this JSDoc comment for affecting ESDoc.
20 * @nodoc
21 */
22export declare class VirtualAction<T> extends AsyncAction<T> {
23 protected scheduler: VirtualTimeScheduler;
24 protected work: (this: SchedulerAction<T>, state?: T) => void;
25 protected index: number;
26 protected active: boolean;
27 constructor(scheduler: VirtualTimeScheduler, work: (this: SchedulerAction<T>, state?: T) => void, index?: number);
28 schedule(state?: T, delay?: number): Subscription;
29 protected requestAsyncId(scheduler: VirtualTimeScheduler, id?: any, delay?: number): any;
30 protected recycleAsyncId(scheduler: VirtualTimeScheduler, id?: any, delay?: number): any;
31 protected _execute(state: T, delay: number): any;
32 static sortActions<T>(a: VirtualAction<T>, b: VirtualAction<T>): 1 | 0 | -1;
33}
Note: See TracBrowser for help on using the repository browser.