An optional JSON-LD context for the domain data. If not specified:
@base
defaults to http://{domain}
@vocab
defaults to the resolution of /#
against the baseA URI domain name, which defines the universal identity of the dataset being manipulated by a set of clones (for example, on the configured message bus). For a clone with persistent data from a prior session, this must be the same as the previous session.
The local identity of the m-ld clone session, used for message bus identity and logging. This identity does not need to be the same across re-starts of a clone with persistent data. It must be unique among the clones for the domain. For convenience, you can use the uuid function.
Semantic constraints to apply to the domain data.
Set to true
to indicate that this clone will be 'genesis'; that is, the
first new clone on a new domain. This flag will be ignored if the clone is
not new. If false
, and this clone is new, successful clone initialisation
is dependent on the availability of another clone. If set to true, and
subsequently another non-new clone appears on the same domain, either or
both clones will immediately close to preserve their data integrity.
Journaling configuration
Log level for the clone
An upper bound on operation message size, in bytes. Usually imposed by the message publishing implementation. Default is infinity. Exceeding this limit will cause a transaction to fail, to prevent a clone from being unable to transmit the update to its peers.
An sane upper bound on how long any to wait for a response over the network, in milliseconds. Used for message send timeouts and to trigger fallback behaviours. Default is five seconds.
Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.8.2 Source code licensed MIT. Privacy policy
m-ld clone configuration, used to initialise a clone for use.