/
home
/
henzagold
/
site
/
node_modules
/
rxjs
/
src
/
internal
/
scheduler
/
File Upload :
llllll
Current File: //home/henzagold/site/node_modules/rxjs/src/internal/scheduler/AsapScheduler.ts
import { AsyncAction } from './AsyncAction'; import { AsyncScheduler } from './AsyncScheduler'; export class AsapScheduler 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; } } }
Copyright ©2k19 -
Hexid
|
Tex7ure