PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
rxjs
/
src
/
internal
/
scheduler
import { AsyncAction } from './AsyncAction'; import { AsyncScheduler } from './AsyncScheduler'; export class AnimationFrameScheduler extends AsyncScheduler { public flush(action?: AsyncAction<any>): void { this.active = true; this.scheduled = undefined; const {actions} = this; let error: any; let index: number = -1; let count: number = actions.length; action = action || actions.shift(); do { if (error = action.execute(action.state, action.delay)) { break; } } while (++index < count && (action = actions.shift())); this.active = false; if (error) { while (++index < count && (action = actions.shift())) { action.unsubscribe(); } throw error; } } }
[-] async.ts
[edit]
[-] QueueAction.ts
[edit]
[-] QueueScheduler.ts
[edit]
[+]
..
[-] queue.ts
[edit]
[-] Action.ts
[edit]
[-] AsapAction.ts
[edit]
[-] AnimationFrameAction.ts
[edit]
[-] animationFrame.ts
[edit]
[-] AsapScheduler.ts
[edit]
[-] AnimationFrameScheduler.ts
[edit]
[-] AsyncScheduler.ts
[edit]
[-] AsyncAction.ts
[edit]
[-] asap.ts
[edit]
[-] VirtualTimeScheduler.ts
[edit]