The current and future status of a clone. This stream is hot and continuous, terminating when the clone closes (and can therefore be used to detect closure).
Follow updates from the domain. All data changes are signalled through the returned stream, strictly ordered according to the clone's logical clock. The updates can therefore be correctly used to maintain some other view of data, for example in a user interface or separate database.
updates will be emitted to the returned stream after (not
including) the given tick count for the clone's logical clock. This tick
count can be in the past or future. If the clone is unable to recall
updates from a too-distant past, the stream will fail with Updates unavailable
.
an observable stream of updates from the domain.
Actively reads data from the domain.
An engine can legitimately offer a limited subset of the full json-rql
syntax for the request
parameter, and reject patterns that it does not
support with an Unsupported pattern
error.
the declarative read description
an observable stream of subjects.
Actively writes data to the domain. A write can be:
An engine can legitimately offer a limited subset of the full json-rql
syntax for the request
parameter, and reject patterns that it does not
support with an Unsupported pattern
error.
the declarative transaction description
final completion or error of the transaction.
Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld-spec - v0.7.0 Source code licensed MIT. Privacy policy
A m-ld clone represents domain data to an app. This is the abstract interface implemented by a clone engine. It adheres to the m-ld data concurrency contract.