tldraw/packages/tlsync/src
Steve Ruiz b379a7a47c
[dotcom] TLSyncRoom tidy (#2712)
I went through the sync room code today while thinking about syncing. As
I worked through it, I added some comments etc for my own readability.
There is no change in how the code works.

There are a few functions declared in the body of `handlePushRequest`.
We might want to re-arrange things so that we're not re-declaring those
on each push (there are a LOT of pushes, basically every mouse move from
every client). I did try that but reverted that change; it feels like a
proper solution would be bigger than what I wanted to do here.

### Change Type

- [x] `internal` — Any other changes that don't affect the published
package[^2]
2024-02-05 17:25:07 +00:00
..
lib [dotcom] TLSyncRoom tidy (#2712) 2024-02-05 17:25:07 +00:00
test Update the project to Node 20 (#2691) 2024-01-31 16:53:40 +00:00
index.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00