1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import { Action } from './scheduler/Action';
- import { Subscription } from './Subscription';
- import { SchedulerLike, SchedulerAction } from './types';
- export declare class Scheduler implements SchedulerLike {
- private SchedulerAction;
-
- static now: () => number;
- constructor(SchedulerAction: typeof Action, now?: () => number);
-
- now: () => number;
-
- schedule<T>(work: (this: SchedulerAction<T>, state?: T) => void, delay?: number, state?: T): Subscription;
- }
|