Skip to content

Commit 241648c

Browse files
committed
fix: remove debug code
1 parent 291e502 commit 241648c

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/asynciterable/operators/repeat.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,3 @@ export function repeat<TSource>(count = -1): MonoTypeOperatorAsyncFunction<TSour
4747
return new RepeatAsyncIterable(source, count);
4848
};
4949
}
50-
51-
export async function tt() {
52-
function* generate() {
53-
yield 1;
54-
}
55-
56-
async function* repeat() {
57-
const x = generate();
58-
59-
while (true) {
60-
yield* x;
61-
console.log('repeat');
62-
}
63-
}
64-
65-
const it = repeat()[Symbol.asyncIterator]();
66-
console.log(await it.next());
67-
await it.return?.();
68-
}

0 commit comments

Comments
 (0)