Skip to content

Commit

Permalink
async Generators.now
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Dec 10, 2023
1 parent 8a1098b commit 0ecef70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/stdlib/generators/now.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function* now() {
export async function* now() {
while (true) {
yield Date.now();
}
Expand Down

0 comments on commit 0ecef70

Please sign in to comment.