/
eapostnova
/
2026-1--study--mathmod
Обзор
Документация
Войти
/
eapostnova
/
2026-1--study--mathmod
Код
Запросы
0
Задачи
Пакеты
0
Релизы
6
Аналитика
Безопасность
develop
node_modules/rxjs/internal/testing/SubscriptionLoggable.js
20 строк
931 B
Елизавета Постнова
feat(lab): lab04
24 мар 2026, 02:59
Верифицирован
24 мар 2026, 02:59
7783508
Код
Авторство
О чём код?
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var SubscriptionLog_1 = require("./SubscriptionLog"); var SubscriptionLoggable = (function () { function SubscriptionLoggable() { this.subscriptions = []; } SubscriptionLoggable.prototype.logSubscribedFrame = function () { this.subscriptions.push(new SubscriptionLog_1.SubscriptionLog(this.scheduler.now())); return this.subscriptions.length - 1; }; SubscriptionLoggable.prototype.logUnsubscribedFrame = function (index) { var subscriptionLogs = this.subscriptions; var oldSubscriptionLog = subscriptionLogs[index]; subscriptionLogs[index] = new SubscriptionLog_1.SubscriptionLog(oldSubscriptionLog.subscribedFrame, this.scheduler.now()); }; return SubscriptionLoggable; }()); exports.SubscriptionLoggable = SubscriptionLoggable; //# sourceMappingURL=SubscriptionLoggable.js.map