Code coverage report for src/scheduler/AsapScheduler.ts

Statements: 100% (8 / 8)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (6 / 6)      Ignored: none     

All files » src/scheduler/ » AsapScheduler.ts
1 2 3 4 5 6 7 8 9 10 11  1   1   2 1 4   1  
import {Action} from './Action';
import {AsapAction} from './AsapAction';
import {Subscription} from '../Subscription';
import {QueueScheduler} from './QueueScheduler';
 
export class AsapScheduler extends QueueScheduler {
  scheduleNow<T>(work: (x?: any) => Subscription, state?: any): Action {
    return new AsapAction(this, work).schedule(state);
  }
}