Code coverage report for src/scheduler/AnimationFrameScheduler.ts

Statements: 87.5% (7 / 8)      Branches: 100% (0 / 0)      Functions: 50% (1 / 2)      Lines: 83.33% (5 / 6)      Ignored: none     

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