Review AI Code. Documented parts that may want to be changed in the future
This commit is contained in:
@@ -2,6 +2,12 @@ import type { FastifyReply, FastifyRequest } from "fastify";
|
||||
|
||||
import debug, { type Debugger } from "debug";
|
||||
|
||||
/**
|
||||
* TODO: This file was pulled directly from a more advanced project which has multi-user support and replay functionality.
|
||||
* Its pretty unlikely that you would need replay support for this kind of application because the frontend would likely just grab the data
|
||||
* and this isn't super real-time. But, I've left the functionality in for now because its better to have the functionality and not need it during development.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents an event stored in the history buffer.
|
||||
* Used for replaying missed events to reconnecting clients.
|
||||
|
||||
Reference in New Issue
Block a user