Remote / foldkit-remote
writeEntities
function · packages/remote/src/store.ts:115
function writeEntities(
store: EntityStore,
writes: ReadonlyArray<EntityWrite>,
now?: number,
): EntityStoreMerges known values into many entities, copying the store once. Every written field becomes present and non-stale; a tombstone is cleared because the entity is evidently not absent.