Buckets:
Quantumbraid/trainingdata / ui /node_modules /rxjs /dist /esm5 /internal /scheduler /AnimationFrameScheduler.js
| import { __extends } from "tslib"; | |
| import { AsyncScheduler } from './AsyncScheduler'; | |
| var AnimationFrameScheduler = (function (_super) { | |
| __extends(AnimationFrameScheduler, _super); | |
| function AnimationFrameScheduler() { | |
| return _super !== null && _super.apply(this, arguments) || this; | |
| } | |
| AnimationFrameScheduler.prototype.flush = function (action) { | |
| this._active = true; | |
| var flushId; | |
| if (action) { | |
| flushId = action.id; | |
| } | |
| else { | |
| flushId = this._scheduled; | |
| this._scheduled = undefined; | |
| } | |
| var actions = this.actions; | |
| var 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; | |
| } | |
| }; | |
| return AnimationFrameScheduler; | |
| }(AsyncScheduler)); | |
| export { AnimationFrameScheduler }; | |
| //# sourceMappingURL=AnimationFrameScheduler.js.map |
Xet Storage Details
- Size:
- 1.27 kB
- Xet hash:
- 88d469471c639d3f03ea1ce87f77192fe618c5f45d350267343551d69560fd1c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.