Skip to content

Commit f88c0ea

Browse files
committed
TODO idea
1 parent 589b6cd commit f88c0ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/index.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,13 @@ describe("accumulate()", () => {
744744
function* Open() {
745745
yield listenTo(eventTarget, "message");
746746
yield accumulate("message", messagesKey);
747+
// TODO:
748+
// yield accumulate("message", messagesKey, function*(event, previous) {
749+
// if (previous) {
750+
// yield *previous;
751+
// }
752+
// yield event;
753+
// });
747754
}
748755
function* Closed() {}
749756

0 commit comments

Comments
 (0)