MCPcopy
hub / github.com/tldraw/tldraw / MinimalDocStore

Interface MinimalDocStore

packages/sync-core/src/lib/TLSyncRoom.ts:1295–1299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1293
1294/** @internal */
1295export interface MinimalDocStore<R extends UnknownRecord> {
1296 get(id: string): UnknownRecord | undefined
1297 set(id: string, record: R): void
1298 delete(id: string): void
1299}
1300
1301/** @internal */
1302export class PresenceStore<R extends UnknownRecord> implements MinimalDocStore<R> {

Callers 24

connectionStatusMethod · 0.65
constructorMethod · 0.65
didReconnectMethod · 0.65
getSyncFpsMethod · 0.65
applyNetworkDiffMethod · 0.65
_handleConnectMethod · 0.65
_handleDisconnectMethod · 0.65
handleSocketConnectMethod · 0.65

Implementers 5

ImmutableMappackages/store/src/lib/ImmutableMap.ts
AtomMappackages/store/src/lib/AtomMap.ts
SQLiteSyncStorageTransactionpackages/sync-core/src/lib/SQLiteSyncS
InMemorySyncStorageTransactionpackages/sync-core/src/lib/InMemorySyn
PresenceStorepackages/sync-core/src/lib/TLSyncRoom.

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…