DocumentStoreOptions
Defined in: index.ts:86
Properties
Section titled “Properties”closeDelay?
Section titled “closeDelay?”
optionalcloseDelay?:number
Defined in: index.ts:95
Milliseconds to keep the document open after the final release, so a remount within that time reuses it. By default the close is queued after the current turn, so only a same-turn reconnect, such as a StrictMode remount, keeps it open.
manageLifecycle?
Section titled “manageLifecycle?”
optionalmanageLifecycle?:boolean
Defined in: index.ts:88
Set false when the caller opens and closes an already shared handle.
undeliveredCloseDelay?
Section titled “undeliveredCloseDelay?”
optionalundeliveredCloseDelay?:number
Defined in: index.ts:103
Milliseconds to keep the document open after the final release while
deliveryFailure is set, because the undelivered change exists only in
the open handle. Defaults to 30 minutes; the store then closes the handle
and the change is lost unless a checkpoint holds it. Infinity keeps the
document open until stop().