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

51 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 6709
2026-07-22 07:54:56 +00:00
// Function ID: 52167
2026-07-20 16:05:17 +00:00
// Name: Chained
2026-07-22 07:54:56 +00:00
// Dependencies: [513, 511, 513]
2026-07-20 16:05:17 +00:00
// Exports: chain
2026-07-21 06:55:02 +00:00
// Module 6709 (Chained)
2026-07-22 07:54:56 +00:00
import closure_0 from "items";
import module_511 from "module_511";
import items from "items";
2026-07-20 16:05:17 +00:00
let closure_2 = () => {
class Chained {
constructor(arg0) {
tmp = Chained(this, Chained);
this.index = 0;
this.items = arg0;
return;
}
}
let closure_0 = Chained;
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-22 07:54:56 +00:00
const result = items.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());
};