decord/source/modules/app_database/util/Iterable.tsx

49 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 6714
2026-07-24 07:16:23 +00:00
// Function ID: 52221
2026-07-20 16:05:17 +00:00
// Name: Chained
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 2]
2026-07-20 16:05:17 +00:00
// Exports: chain
2026-07-23 10:11:24 +00:00
// Module 6714 (Chained)
import _classCallCheck from "_classCallCheck";
import _defineProperties from "_defineProperties";
2026-07-22 07:54:56 +00:00
2026-07-23 10:11:24 +00:00
let closure_2 = (() => {
2026-07-20 16:05:17 +00:00
class Chained {
constructor(arg0) {
tmp = Chained(this, Chained);
this.index = 0;
this.items = arg0;
return;
}
}
let obj = {
key: Symbol.iterator,
value() {
return this;
}
};
const items = [obj, ];
obj = {
key: "next",
value() {
const self = this;
if (this.index < this.items.length) {
const iter2 = self.items[self.index].next();
while (iter2.done) {
self.index = self.index + 1;
}
return iter2;
}
return { done: true, value: undefined };
}
};
items[1] = obj;
return callback(Chained, items);
2026-07-23 10:11:24 +00:00
})();
const result = require("set").fileFinishedImporting("modules/app_database/util/Iterable.tsx");
2026-07-20 16:05:17 +00:00
export const chain = function chain(arg0) {
return new closure_2(HermesBuiltin.copyRestArgs());
};