this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

log cursor with timestamp

+2
+2
src/main.ts
··· 20 20 21 21 firehose.on("open", () => { 22 22 setInterval(() => { 23 + const timestamp = new Date().toISOString(); 24 + console.log(`${timestamp} cursor: ${cursorFirehose}`); 23 25 fs.writeFile("cursor.txt", cursorFirehose.toString(), (err) => { 24 26 if (err) console.error(err); 25 27 });