DocumentSnapshot
Defined in: index.ts:47
A new snapshot is published even when the underlying CRDT mutates in place.
Type Parameters
Section titled “Type Parameters”Doc
PublicKey
Section titled “PublicKey”PublicKey = unknown
Properties
Section titled “Properties”
readonlydata:Doc|undefined
Defined in: index.ts:54
deliveryFailure
Section titled “deliveryFailure”
readonlydeliveryFailure: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.
readonlyerror:unknown
Defined in: index.ts:58
readers
Section titled “readers”
readonlyreaders: readonlyPublicKey[]
Defined in: index.ts:55
revision
Section titled “revision”
readonlyrevision:number
Defined in: index.ts:57
status
Section titled “status”
readonlystatus: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().
writers
Section titled “writers”
readonlywriters: readonlyPublicKey[]
Defined in: index.ts:56