diff options
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameScheduler.js')
| -rw-r--r-- | node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameScheduler.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameScheduler.js b/node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameScheduler.js deleted file mode 100644 index 6807452..0000000 --- a/node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameScheduler.js +++ /dev/null @@ -1,30 +0,0 @@ -import { AsyncScheduler } from './AsyncScheduler'; -export class AnimationFrameScheduler extends AsyncScheduler { - flush(action) { - this._active = true; - let flushId; - if (action) { - flushId = action.id; - } - else { - flushId = this._scheduled; - this._scheduled = undefined; - } - const { actions } = this; - let error; - action = action || actions.shift(); - do { - if ((error = action.execute(action.state, action.delay))) { - break; - } - } while ((action = actions[0]) && action.id === flushId && actions.shift()); - this._active = false; - if (error) { - while ((action = actions[0]) && action.id === flushId && actions.shift()) { - action.unsubscribe(); - } - throw error; - } - } -} -//# sourceMappingURL=AnimationFrameScheduler.js.map
\ No newline at end of file |
