MCPcopy Create free account
hub / github.com/codeaashu/claude-code / createPresenceState

Function createPresenceState

web/lib/collaboration/presence.ts:21–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19// ─── Factory ──────────────────────────────────────────────────────────────────
20
21export 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected