Skip to content

DocumentSnapshot

Defined in: index.ts:47

A new snapshot is published even when the underlying CRDT mutates in place.

Doc

PublicKey = unknown

readonly data: Doc | undefined

Defined in: index.ts:54


readonly deliveryFailure: DocumentDeliveryFailure | undefined

Defined in: index.ts:65

The handle’s deliveryFailure: the latest change made on this device that is committed locally but not known to have reached a member, because its frame could not be published or reached no peer that serves one. It clears on evidence that a member holds or was sent the change.


readonly error: unknown

Defined in: index.ts:58


readonly readers: readonly PublicKey[]

Defined in: index.ts:55


readonly revision: number

Defined in: index.ts:57


readonly status: DocumentStatus

Defined in: index.ts:53

retired means the handle refused a change because it was retired, so data is dropped and error is that rejection. A managed store opens a fresh handle after stop() and start().


readonly writers: readonly PublicKey[]

Defined in: index.ts:56