()
| 19 | // ─── Factory ────────────────────────────────────────────────────────────────── |
| 20 | |
| 21 | export function createPresenceState(): PresenceState { |
| 22 | return { |
| 23 | users: new Map(), |
| 24 | cursors: new Map(), |
| 25 | typing: new Set(), |
| 26 | }; |
| 27 | } |
| 28 | |
| 29 | // ─── Updaters (all return new state, immutable) ─────────────────────────────── |
| 30 |
nothing calls this directly
no outgoing calls
no test coverage detected