TLSyncStorage
See source codeTable of contents
Pluggable synchronous transactional storage layer for TLSyncRoom. Provides methods for managing documents, tombstones, and clocks within transactions.
interface TLSyncStorage<R extends UnknownRecord> {}Methods
getClock
getSnapshot
optional
onChange
Parameters
| Name | Description |
|---|---|
| |
Returns
() => voidtransaction
Parameters
| Name | Description |
|---|---|
| |
|
Returns
Prev
TLSyncLogNext
TLSyncStorageGetChangesSinceResult